jolshan commented on code in PR #13963: URL: https://github.com/apache/kafka/pull/13963#discussion_r1258650248
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java: ########## @@ -700,17 +726,36 @@ private CoordinatorResult<ConsumerGroupHeartbeatResponseData, Record> consumerGr String groupId, String memberId ) throws ApiException { - List<Record> records = new ArrayList<>(); - ConsumerGroup group = getOrMaybeCreateConsumerGroup(groupId, false); ConsumerGroupMember member = group.getOrMaybeCreateMember(memberId, false); log.info("[GroupId " + groupId + "] Member " + memberId + " left the consumer group."); + List<Record> records = consumerGroupFenceMember(group, member); + cancelConsumerGroupSessionTimeout(groupId, memberId); Review Comment: would we also want to cancel the revocation timeout? -- 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