lianetm commented on code in PR #16899: URL: https://github.com/apache/kafka/pull/16899#discussion_r1860806579
########## clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java: ########## @@ -666,7 +686,8 @@ protected Map<String, Object> postProcessParsedConfig(final Map<String, Object> Map<String, Object> refinedConfigs = CommonClientConfigs.postProcessReconnectBackoffConfigs(this, parsedValues); maybeOverrideClientId(refinedConfigs); maybeOverrideEnableAutoCommit(refinedConfigs); - checkGroupRemoteAssignor(); + checkUnsupportedConfigs(GroupProtocol.CLASSIC, CLASSIC_PROTOCOL_UNSUPPORTED_CONFIGS); + checkUnsupportedConfigs(GroupProtocol.CONSUMER, CONSUMER_PROTOCOL_UNSUPPORTED_CONFIGS); Review Comment: my reasoning was that consumer group protocols is not something that I expect we'll be adding frequently, and seemed a bit confusing to check for the 2 protocols, when a consumer can only be using one (that being said, no strong position here, I see your point of view too, so up to you) -- 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