lianetm commented on code in PR #14364: URL: https://github.com/apache/kafka/pull/14364#discussion_r1331997791
########## clients/src/main/java/org/apache/kafka/clients/consumer/internals/MembershipManager.java: ########## @@ -59,4 +59,21 @@ public interface MembershipManager { * current assignment. */ void updateAssignment(ConsumerGroupHeartbeatResponseData.Assignment assignment); + + /** + * Transition the member to the FENCED state. This is only invoked when the heartbeat returns a + * FENCED_MEMBER_EPOCH or UNKNOWN_MEMBER_ID error code. + */ + void fenceMember(); + + /** + * Transition the member to the FAILED state. This is invoked when the heartbeat returns an UNRELEASED_MEMBER_ID Review Comment: This will be invoked on any non-retriable error I expect (not only the UNRELEASED_MEMBER_ID) -- 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