[
https://issues.apache.org/jira/browse/KAFKA-17338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17875038#comment-17875038
]
Kirk True commented on KAFKA-17338:
-----------------------------------
Take a look at the {{AbstractConfig.originals()}} method. I believe it will
return a map with the values the user provided, _before_ any defaults were
applied.
> ConsumerConfig should prevent using partition assignors with CONSUMER group
> protocol
> ------------------------------------------------------------------------------------
>
> Key: KAFKA-17338
> URL: https://issues.apache.org/jira/browse/KAFKA-17338
> Project: Kafka
> Issue Type: Task
> Components: clients, config, consumer
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Critical
> Labels: consumer-threading-refactor, kip-848-client-support
>
> {{ConsumerConfig}} should be updated to include additional validation in
> {{postProcessParsedConfig()}}—when {{group.protocol}} is set to {{CONSUMER}},
> the value for {{partition.assignment.strategy}} must be either null or empty.
> Otherwise a {{ConfigException}} should be thrown.
> This is somewhat of the inverse case of KAFKA-15773.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)