cadonna commented on code in PR #14878:
URL: https://github.com/apache/kafka/pull/14878#discussion_r1414503110


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/RequestManagers.java:
##########
@@ -157,6 +157,7 @@ protected RequestManagers create() {
                 CommitRequestManager commit = null;
 
                 if (groupRebalanceConfig != null && 
groupRebalanceConfig.groupId != null) {
+                    Optional<String> serverAssignor = 
Optional.ofNullable(config.getString(ConsumerConfig.GROUP_REMOTE_ASSIGNOR_CONFIG));

Review Comment:
   If the protocol is not `consumer` but a group remote assignor is set, do we 
not need to ignore that config as we ignore the auto commit interval when a 
group ID is set?
   
   See 
https://github.com/apache/kafka/blob/ee024966d5283ff95935310e4df039069ae7e695/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumer.java#L475
   
   If yes, we also need to test that like here:
   
https://github.com/apache/kafka/blob/ee024966d5283ff95935310e4df039069ae7e695/clients/src/test/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumerTest.java#L920
   and here:
   
https://github.com/apache/kafka/blob/ee024966d5283ff95935310e4df039069ae7e695/clients/src/test/java/org/apache/kafka/clients/consumer/internals/AsyncKafkaConsumerTest.java#L904



-- 
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

Reply via email to