lianetm commented on code in PR #14690: URL: https://github.com/apache/kafka/pull/14690#discussion_r1382742662
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/MemberState.java: ########## @@ -24,21 +24,34 @@ public enum MemberState { /** - * Member has not joined a consumer group yet, or has been fenced and needs to re-join. + * Member is not part of the group. This could be the case when it has never joined (no call + * has been made to the subscribe API), or when the member intentionally leaves the group + * after a call to the unsubscribe API. */ - UNJOINED, + NOT_IN_GROUP, + + /** + * Member is attempting to join a consumer group. This could be the case when joining for the + * first time, or when it has been fenced and tries to re-join. + */ Review Comment: Done. I updated them all, explaining more of what the member does in each and the relationship with the HB requests content and timing. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org