philipnee commented on code in PR #14390: URL: https://github.com/apache/kafka/pull/14390#discussion_r1361155881
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/MembershipManagerImpl.java: ########## @@ -142,9 +142,26 @@ public void transitionToFailed() { transitionTo(MemberState.FAILED); } + @Override + public void tryJoin() { + resetEpoch(); + transitionTo(MemberState.UNJOINED); + } + + @Override + public void leaveGroup() { + resetEpoch(); Review Comment: Maybe I leave it as TODO, because I'm not sure how leaveGroup would integrate as well. -- 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