【Kafka】kafka NotLeaderForPartitionException thisserver is not the leader for topic-partition

tech2022-07-13  118

1.背景

在 问题 【Kafka】Kafka 奇怪问题之无法用Java 客户端消费 这里不是写了一个java消费的客户端吗,去消费,然后在日志中看到如下错误

2.参考

参考文章:https://www.cnblogs.com/byrhuangqiang/p/6367779.html

Kafka Leader所在机器的元数据信息有问题 NotLeaderForPartitionException 在某些机器上有如下的错误信息:

[2016-10-09 15:00:00,504] WARN [ReplicaFetcherThread--1-17], error fo
最新回复(0)