squah-confluent commented on code in PR #23706:
URL: https://github.com/apache/kafka/pull/23706#discussion_r4455162312
##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorConfig.java:
##########
@@ -972,6 +972,11 @@ protected List<TaskAssignor> streamsGroupAssignors(
assignors.add(assignor);
+ if (!assignor.name().equals(assignor.name().trim())) {
+ throw new ConfigException(STREAMS_GROUP_ASSIGNORS_CONFIG,
configuredAssignor,
+ "Assignor name '" + assignor.name() + "' must not
contain leading or trailing whitespace.");
+ }
Review Comment:
Does the same apply to consumer and share assignors? If so, could we expand
the scope of the ticket to cover all three group types?
--
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]