Kafka启动消费者时提示no brokers found when trying to rebalance.
kafka在执行以下命令时提示:bin/kafka-console-consumer.sh --zookeeper localhost102:2181 --topic testWARN [console-consumer-87796_localhost002-1592779486563-9b43649b], no brokers found when trying to rebalance.(ka
·
kafka在执行以下命令时提示:
bin/kafka-console-consumer.sh --zookeeper localhost102:2181 --topic test
WARN [console-consumer-87796_localhost002-1592779486563-9b43649b], no brokers found when trying to rebalance.(kafka.consumer.ZookeeperConsumerConnector)
产生原因是没启动kafka进程 或者 是zookeeper上没有kafka集群信息
[root@localhost002 ~]# jps
3667 DataNode
3365 ResourceManager
21446 QuorumPeerMain
23386 Jps
3230 NodeManager
启动kafka后解决问题
更多推荐
已为社区贡献1条内容
所有评论(0)