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


##########
tools/src/main/java/org/apache/kafka/tools/VerifiableConsumer.java:
##########
@@ -536,7 +537,7 @@ private static ArgumentParser argParser() {
                 .setDefault(ConsumerConfig.DEFAULT_GROUP_PROTOCOL)
                 .metavar("GROUP_PROTOCOL")
                 .dest("groupProtocol")
-                .help(String.format("Group protocol (must be one of %s)", 
Utils.join(GroupProtocol.values(), ", ")));
+                .help(String.format("Group protocol (must be one of %s)", 
String.join(", ", Arrays.toString(GroupProtocol.values()))));

Review Comment:
   
`Arrays.stream(GroupProtocol.values()).map(Object::toString).collect(Collectors.joining(",
 "))`



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