kafka集群中去消费消息
kafka-console-consumer.sh --bootstrap-server node1:9092,node2:9092,node3:9092 --topic infos3 --from-beginning
却一直报警告:WARN [Consumer clientId=consumer-1, groupId=console-consumer-82820] 2 partitions have leader brokers without a matching listener, including [infos3-1, infos3-0] (org.apache.kafka.clients.NetworkClient)
经过一系列排查,最终发现是我的zookeeper集群中的一个节点掉线了,把节点启动起来就不报警告了
WARN [Consumer clientId=consumer-1, groupId=console-consumer-82820] 2 partitions have leader brokers
最新推荐文章于 2023-12-18 15:44:51 发布