Apache Kafka :- Message not getting publised to consumer
[naphri6100@ip-172-31-38-146 ~]$ kafka-console-producer.sh --broker-list ip-172-31-20-247.ec2.internal:6667 --topic naphri
Message 1
[naphri6100@ip-172-31-38-146 ~]$ kafka-console-consumer.sh --zookeeper ip-172-31-35-141.ec2.internal:2181 --topic naphri–from-beginning
Using the ConsoleConsumer with old consumer is deprecated and will be removed in a future major release. Consider using the new consumer by passing [bootstrap-serv
er] instead of [zookeeper].
Command
zookeeper-client get /brokers/ids/0 not returing any broker IP
…
WatchedEvent state:SyncConnected type:None path:null
Node does not exist: /brokers/ids/0