[Question] What is the definition of GenerationID #2798
Unanswered
chientranthien
asked this question in
Q&A
Replies: 1 comment
-
|
@chientranthien yes, this is sort of exposing the internals of Kafka, but the ConsumerGroup has an ID integer that increases whenever a rebalance or change of membership occurs in the group, so that the server-side group coordinator can be sure that all members of the group are aware of the configuration/memberships and it can ignore any requests that come in referring to an old/outdated generation, forcing consumers to correctly re-join the group at the new generation You might find https://chrzaszcz.dev/2019/06/kafka-rebalancing/ some useful background reading as well |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There is a function of
ConsumerGroupSessioncalledGenerationIDGenerationID?GenerationIDof a consumer group always increases each consumer-group rebalancing?Beta Was this translation helpful? Give feedback.
All reactions