Sergey
Sergey

Reputation: 199

What kafka mean when log that consumer id **** Leave Group

We use kafka 2.1.0 Please help me understand what is really going on when in Kafka log we see this message:

Preparing to rebalance group some-service in state PreparingRebalance with old  generation 21668 
(__consumer_offsets-47) (reason: removing member consumer-24-f5b9a9b1-ffed-4088-999b-378df9aaa71b on LeaveGroup) 
(kafka.coordinator.group.GroupCoordinator)

Does this indicate that Kafka removed a consumer from the group (due to timeout or other things) or consumer left group itself?

Upvotes: 0

Views: 516

Answers (1)

Sergey
Sergey

Reputation: 199

This happen because consumer not work properly and not answer to broker by timeouts

Upvotes: 1

Related Questions