jolshan commented on code in PR #14321: URL: https://github.com/apache/kafka/pull/14321#discussion_r1313613392
########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/OffsetMetadataManagerTest.java: ########## @@ -181,10 +181,28 @@ public List<OffsetFetchResponseData.OffsetFetchResponseTopics> fetchOffsets( String groupId, List<OffsetFetchRequestData.OffsetFetchRequestTopics> topics, long committedOffset + ) { + return fetchOffsets( + groupId, + "", + -1, + topics, + committedOffset + ); + } + + public List<OffsetFetchResponseData.OffsetFetchResponseTopics> fetchOffsets( + String groupId, + String memberId, + int memberEpoch, + List<OffsetFetchRequestData.OffsetFetchRequestTopics> topics, + long committedOffset ) { OffsetFetchResponseData.OffsetFetchResponseGroup response = offsetMetadataManager.fetchOffsets( new OffsetFetchRequestData.OffsetFetchRequestGroup() .setGroupId(groupId) + .setMemberId(memberId) Review Comment: Is this needed now because of validation (and wasn't needed before) ########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/OffsetMetadataManagerTest.java: ########## @@ -181,10 +181,28 @@ public List<OffsetFetchResponseData.OffsetFetchResponseTopics> fetchOffsets( String groupId, List<OffsetFetchRequestData.OffsetFetchRequestTopics> topics, long committedOffset + ) { Review Comment: is this for generic groups only now? -- 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