mingyen066 opened a new pull request, #18740:
URL: https://github.com/apache/kafka/pull/18740

   Revert the stricter configuration validation changes(#16048, #16319) that 
broke compatibility when used pass space-separated broker list with version >= 
3.8
   In before, the space-separated broker list will be parsed as Arraylist with 
single string instead of three string. Then the single string will pass 
`getHost` function and get only the first broker.
   After we apply stricker configuration, this space separated broker will 
introduce exception. 
   
   
   ### Why when the space separated broker list is provided, only the first 
broker is used
   Because we define the type of bootstrap server config as List, and List 
config will be parsed using comma separated pattern
   * 
https://github.com/apache/kafka/blob/0534e42c39749cccaf35bce6006faeeea0fbfc64/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java#L367
   
   * 
https://github.com/apache/kafka/blob/d5e270482cf6601e1b635d69d311957e84d6bb59/clients/src/main/java/org/apache/kafka/common/config/ConfigDef.java#L762
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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