kafka集群节点重启后未被topic识别
1.案例
kafka集群的节点重启后,topic为apex的主题识别不到重启后的broker节点id,但是还能识别到副本集还在原来的broker节点上
在kafka manager上查看
继续往下查看
2.查看kafka日志报错原因
以下是两个不同的broker节点报错的报错日志
tail -f /etc/kafka/kafka/logs/kafkaServer.out
这是broker id为3的节点 ,这是topic识别不到的节点报错为下图的这个错误
Received INCONSISTENT_TOPIC_ID from the leader for partition test-1. This error may be returned transiently when the partition is being created or deleted, but it is not expected to persist
这是broker id为1的节点,即topic还能识别到的节点报错为下图的这个错误
Received UNKNOWN_TOPIC_ID from the lea