我正在研究现有的Kafka但是有些它如何停止响应配置'retention.ms'。所以我安装了Kafka 0.8.2.1的新副本并运行它。但它会不断显示以下信息消息:它显示的IP是我们网络上的有效IP,它会在其上生成消息。但即使它的机器关闭它仍然显示它
[2016-02-18 10:46:10,830] INFO Accepted socket connection from /10.20.xxx.xxx:5988
1 (org.apache.zookeeper.server.NIOServerCnxnFactory)
[2016-02-18 10:46:10,832] INFO Refusing session request for client /10.20.xxx.xxx:
59881 as it has seen zxid 0x8b47 our last zxid is 0x165 client must try another
server (org.apache.zookeeper.server.ZooKeeperServer)
[2016-02-18 10:46:10,832] INFO Closed socket connection for client /10.20.xxx.xxx:
59881 (no session established for client) (org.apache.zookeeper.server.NIOServer
Cnxn)
答案 0 :(得分:0)
根据评论,确保Kafka注意到该机器不再存在的方法是重新启动机器以及Kafka。