You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Saumidh Mhatre <sa...@citiustech.com> on 2016/06/20 07:41:17 UTC

Kafka 0.9 new-producer on kerberized HDP 2.4

I am trying to run kafka-console-producer.sh script on a kerberized HDP 2.4 sandbox with Kafka 0.9. I have created a topic and provided user permissions to the topic.

Below is the command I am using to start the producer:
                ./kafka-console-producer.sh --topic test-topic --broker-list sandbox.hortonworks.com:6667 --security-protocol PLAINTEXTSASL --new-producer


Below is the error I get when I try to produce something:
                ERROR Error when sending message to topic test-topic with key: null, value: 8 bytes with error: Failed to update metadata after 60000 ms. (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)


It works fine when I don't use the new-producer, but I need to use the new producer API.