Rancho-7 commented on code in PR #19779: URL: https://github.com/apache/kafka/pull/19779#discussion_r2100170330
########## 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: Sure. Thanks for the suggestion! -- 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