dajac commented on code in PR #19515:
URL: https://github.com/apache/kafka/pull/19515#discussion_r2059081281
##########
group-coordinator/src/test/java/org/apache/kafka/coordinator/group/OffsetMetadataManagerTest.java:
##########
@@ -1834,6 +1834,44 @@ public void testFetchOffsetsWithUnknownGroup() {
assertEquals(expectedResponse, context.fetchOffsets("group", request,
Long.MAX_VALUE));
}
+ @Test
+ public void testFetchOffsetsWithTopicIds() {
+ Uuid fooId = Uuid.randomUuid();
+ Uuid barId = Uuid.randomUuid();
+ OffsetMetadataManagerTestContext context = new
OffsetMetadataManagerTestContext.Builder().build();
+
+
context.groupMetadataManager.getOrMaybeCreatePersistedConsumerGroup("group",
true);
+
+ context.commitOffset("group", "foo", 0, 100L, 1);
+ context.commitOffset("group", "bar", 0, 200L, 1);
+
+ List<OffsetFetchRequestData.OffsetFetchRequestTopics> request =
Arrays.asList(
Review Comment:
I agree. However, if you don't mind, I will do this mechanical change in a
separate PR because I will do it for the entire file.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]