[ https://issues.apache.org/jira/browse/KAFKA-17338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17874262#comment-17874262 ]
黃竣陽 commented on KAFKA-17338: ----------------------------- [~kirktrue], I have a question, the `partition.assignment.strategy` has the default value of `class org.apache.kafka.clients.consumer.RangeAssignor,class org.apache.kafka.clients.consumer.CooperativeStickyAssignor`, thus in this case user should set `partition.assignment.strategy` with empty string to avoid this check? > 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)