Kafka prompts when executing the following command:
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 )
The reason is that the Kafka process is not started or there is no Kafka cluster information on zookeeper
[root@localhost002 ~]# jps
3667 DataNode
3365 ResourceManager
21446 QuorumPeerMain
23386 Jps
3230 NodeManager
Solve the problem after starting Kafka