chia7712 commented on code in PR #17834: URL: https://github.com/apache/kafka/pull/17834#discussion_r1848203586
########## group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java: ########## @@ -76,7 +76,9 @@ public class GroupCoordinatorConfig { public static final String GROUP_COORDINATOR_REBALANCE_PROTOCOLS_CONFIG = "group.coordinator.rebalance.protocols"; public static final String GROUP_COORDINATOR_REBALANCE_PROTOCOLS_DOC = "The list of enabled rebalance protocols. Supported protocols: " + - Arrays.stream(Group.GroupType.values()).map(Group.GroupType::toString).collect(Collectors.joining(",")) + ". " + + Arrays.stream(Group.GroupType.values()) + .filter(protocol -> !protocol.equals(Group.GroupType.UNKNOWN)) + .map(Group.GroupType::toString).collect(Collectors.joining(", ")) + ". " + Review Comment: @m1a2st we can remove the description "Supported protocols ..." from `GROUP_COORDINATOR_REBALANCE_PROTOCOLS_DOC` as the "Valid Values" has displayed the correct values already. -- 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