jolshan commented on code in PR #14067: URL: https://github.com/apache/kafka/pull/14067#discussion_r1274175859
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/generic/GenericGroup.java: ########## @@ -738,6 +742,84 @@ public String generateMemberId(String clientId, Optional<String> groupInstanceId .orElseGet(() -> clientId + MEMBER_ID_DELIMITER + UUID.randomUUID()); } + /** + * Validates that (1) the group instance id exists and is mapped to the member id + * if the group instance id is provided; and (2) the member id exists in the group. + * + * @param memberId The member id. + * @param groupInstanceId The group instance id. + * @param operation The operation. + * + * @throws UnknownMemberIdException + * @throws FencedInstanceIdException + */ + public void validateMember( Review Comment: do we want this to be public? -- 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