leader不平衡比率导致代理的级联关闭

n3h0vuf2  于 2021-06-05  发布在  Kafka
关注(0)|答案(0)|浏览(414)

我们有Kafka集群的3个经纪人与多个主题与复制因子3。
一个或多个kafka代理程序已自动关闭。
server.log文件包含受控关机消息:

[2020-02-04 17:25:36,156] INFO [KafkaServer id=10] Controlled shutdown succeeded (kafka.server.KafkaServer)

但是,controller.log生成了指向引线不平衡比率的以下跟踪

[2020-02-04 17:25:23,350] TRACE [Controller id=10] Leader imbalance ratio for broker 9 is 1.0**(kafka.controller.KafkaController)
[2020-02-04 17:25:23,351] INFO [Controller id=10] Starting preferred replica leader election for partitions  (kafka.controller.KafkaController)
[2020-02-04 17:25:36,095] INFO [Controller id=10] Shutting down broker 10 (kafka.controller.KafkaController)
[2020-02-04 17:25:36,096] DEBUG [Controller id=10] All shutting down brokers: 10 (kafka.controller.KafkaController)
[2020-02-04 17:25:36,096] DEBUG [Controller id=10] Live brokers: 11 (kafka.controller.KafkaController)
[2020-02-04 17:25:36,127] DEBUG The stop replica request (delete = false) sent to broker 10 is StopReplicaRequestInfo([Topic=ml22-4,Partition=0,Replica=10],false),StopReplicaRequestInfo([Topic=__co

可能是什么原因导致这个问题引发了Kafka经纪人的自动关闭,而且Kafka内部也没有处理它。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题