dajac commented on code in PR #16057: URL: https://github.com/apache/kafka/pull/16057#discussion_r1613943409
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java: ########## @@ -4249,13 +4249,7 @@ public CoordinatorResult<HeartbeatResponseData, CoordinatorRecord> classicGroupH RequestContext context, HeartbeatRequestData request ) { - Group group = groups.get(request.groupId(), Long.MAX_VALUE); - - if (group == null) { - throw new UnknownMemberIdException( - String.format("Group %s not found.", request.groupId()) - ); - } Review Comment: Do we need to catch the exception and to rethrow unknown member exception? -- 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