frankvicky commented on PR #17549: URL: https://github.com/apache/kafka/pull/17549#issuecomment-2436851353
Hi @lianetm, Here is my understanding. Please correct me if I’m wrong: Since the group management has now moved to the server-side, the `ConsumerGroupMetadata` basically represents the data acknowledged by the broker. In this case, I think we should keep the `ConsumerGroupMetadata.memberId` empty at startup. This is because, at that moment, the broker still has no knowledge of the memberId. Once the consumer polls, the broker will then recognize the `memberId` and update the assignment, allowing the consumer to update the `ConsumerGroupMetadata` via `MemberStateListener`. After that, `ConsumerGroupMetadata` will have the `memberId`. Does this make sense ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
