Why Kafka console Utils are not working in cluster

Hi All,

Does anyone used Kafka console utils to publish to topic and subscribe from topic. Even i tried with correct ports and hosts it’s not working.


You need to share the commands you are running to troubleshoot the issue!!!

console publisher

bin/kafka-console-producer.sh --broker-list nn01.itversity.com:6667 --topic kafkaraj

console subscriber

bin/kafka-console-consumer.sh --zookeeper nn01.itversity.com:2181 --topic kafkaraj --from-beginning