chia7712 commented on code in PR #19634:
URL: https://github.com/apache/kafka/pull/19634#discussion_r2073335827


##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/ConsumerCoordinatorTest.java:
##########
@@ -1306,7 +1304,7 @@ public void 
testForceMetadataDeleteForPatternSubscriptionDuringRebalance() {
             client.prepareResponse(groupCoordinatorResponse(node, 
Errors.NONE));
             coordinator.ensureCoordinatorReady(time.timer(Long.MAX_VALUE));
 
-            MetadataResponse deletedMetadataResponse = 
RequestTestUtils.metadataUpdateWith(1, new HashMap<String, Integer>() {
+            MetadataResponse deletedMetadataResponse = 
RequestTestUtils.metadataUpdateWith(1, new HashMap<>() {

Review Comment:
   ```java
   Map.of(topic1, 1)
   ```



-- 
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

Reply via email to