You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "dajac (via GitHub)" <gi...@apache.org> on 2023/09/28 16:13:38 UTC
[GitHub] [kafka] dajac commented on a diff in pull request #14463: MINOR: Add LEAVE_GROUP_EPOCH to GroupMetadataManager
dajac commented on code in PR #14463:
URL: https://github.com/apache/kafka/pull/14463#discussion_r1340387942
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java:
##########
@@ -131,6 +131,11 @@
*/
public class GroupMetadataManager {
+ /**
+ * A member epoch of <code>-1</code> means that the member wants to leave the group.
+ */
+ public static final int LEAVE_GROUP_EPOCH = -1;
Review Comment:
I wonder if we should rather define this on in `ConsumerGroupHeartbeatRequest`. What do you think?
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org