草庐IT

Rebanlace

全部标签

Kafka Rebanlace次数过高问题

KafkaRebanlace次数过高问题环境:KafkaServer2.6.xKafkaClientJava2.8.2缘起:最近发现KafkaRebalance次数着实有点多,一天达到了六十多次,感觉不太正常,于是查了下日志发现:Offsetcommitcannotbecompletedsincetheconsumerisnotpartofanactivegroupforautopartitionassignment;itislikelythattheconsumerwaskickedoutofthegroup.大意是某个kakfaclient提交offset失败,因为已经在分组中下线。为什么