0
点赞
收藏
分享

微信扫一扫

【bug】kafka:WARN Connection to node -1 could not be established. Broker may not be available.

Sky飞羽 2022-10-08 阅读 62


bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group  group1

报错

Note: This will not show information about old Zookeeper-based consumers.
[2021-01-22 19:04:37,515] WARN Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)
[2021-01-22 19:04:37,579] WARN Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

原因分析:
config/server.properties 配置时 指定了具体的机器ip, 可以修改为下面的配置:

listeners=PLAINTEXT://:9092


举报

相关推荐

0 条评论