Support Questions

Find answers, ask questions, and share your expertise

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/ --zookeeper <zkhost>:2181 --create --topic newtopic -replication-factor 1 --partitions 1

producer :

usr/hdp/ --broker-list <brokerserver>:6667 --topic newtopic

Super Collaborator

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.