Rancho-7 commented on code in PR #19779: URL: https://github.com/apache/kafka/pull/19779#discussion_r2107277009
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractMembershipManager.java: ########## @@ -443,7 +443,7 @@ public void transitionToFatal() { log.error("Member {} with epoch {} transitioned to fatal state", memberId, memberEpoch); notifyEpochChange(Optional.empty()); - if (previousState == MemberState.UNSUBSCRIBED) { + if (previousState == MemberState.UNSUBSCRIBED && maybeCompleteLeaveInProgress()) { Review Comment: Sounds good, I have opened https://issues.apache.org/jira/browse/KAFKA-19333 to track this. -- 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