Updated for new librdkafka API.

Change-Id: Ief5b28690c17a1b4087f7f9586182b05683f7c84