Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

kafka producer error

kafka producer error

I have created a topic but producer is not connecting with the topic or not sending the message . It is throwing an error :

 WARN Bootstrap broker <kafkabroker>:6667 disconnected (org.apache.kafka.clients.NetworkClient)

topic :

/usr/hdp/2.6.1.0-129/kafka/bin/kafka-topics.sh --zookeeper <zkhost>:2181 --create --topic newtopic -replication-factor 1 --partitions 1

producer :

usr/hdp/2.6.1.0-129/kafka/bin/kafka-console-producer.sh --broker-list <brokerserver>:6667 --topic newtopic
1 REPLY 1

Re: kafka producer error

Super Collaborator

Have you setup SSL or Kerberos as the security for your Kafka broker? In that case have a look here:

https://community.hortonworks.com/content/supportkb/150148/errorwarn-bootstrap-broker-6668-disconnec...