Kafka问题

版权声明:本文为博主原创文章,转载请注明出处。 https://blog.csdn.net/JackLi31742/article/details/80197845
Error while fetching metadata with correlation id 10 : {monitor-desc-pedestrian-attr-recog_gpu-task-nod1=LEADER_NOT_AVAILABLE}

config配置server.properties
解决:

#     listeners = PLAINTEXT://your.host.name:9092

去掉注释,将各主机本地ip替换“your.host.name”,重启后恢复正常。

ZkClient: zookeeper state changed (SyncConnected)

客户端 和服务器连接时版本问题,即pom中的版本和工具的版本不一致,

kafka java.util.concurrent.TimeoutException: Timeout after waiting for 5000 ms.
advertised.host.name=10.0.0.100
advertised.port=9092

猜你喜欢

转载自blog.csdn.net/JackLi31742/article/details/80197845