三点kafka集群,正常运行半年后报错:Error while fetching metadata with correlation id 121622 : {xxxxxxxxx=LEADER_NOT_AVAILABLE}
排查:
config配置server.properties broker.id 无误
解决:
# listeners = PLAINTEXT://your.host.name:9092
去掉注释,将各主机本地ip替换“your.host.name”,重启后恢复正常。