FrankYang0529 commented on code in PR #17284:
URL: https://github.com/apache/kafka/pull/17284#discussion_r1777981379


##########
tools/src/test/java/org/apache/kafka/tools/consumer/group/ConsumerGroupCommandTestUtils.java:
##########
@@ -79,9 +75,7 @@ private ConsumerGroupCommandTestUtils() {
     }
 
     static List<ClusterConfig> generator() {
-        return Stream
-            .concat(forKRaftGroupCoordinator().stream(), 
forZkGroupCoordinator().stream())
-            .collect(Collectors.toList());
+        return new ArrayList<>(forKRaftGroupCoordinator());
     }
 
     static List<ClusterConfig> forKRaftGroupCoordinator() {

Review Comment:
   Replaced `forKRaftGroupCoordinator` with `generator` and remove zookeeper 
related message in `kafka.test` package. Thanks.



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

Reply via email to