Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

No brokers found in ZK

avatar

Hi,

 

I'm testing Kafka sending messages by running below commands from seperate terminals.

 

bin/kafka-console-producer --broker-list localhost:9092 --topic kafkatest

This is a message

This is another message

 

On another terminal:

bin/kafka-console-consumer --zookeeper localhost:2181 --topic kafkatest --from-beginning

No brokers found in ZK.

 

Why the above messages don't show up on consumer terminal? This is CDH5.5.2 with Parcel deployment. 

What am I missing on CDH/CM configurations?

 

Thanks very much,

Silaphet

Who agreed with this topic