maixiaohai opened a new pull request #11831:
URL: https://github.com/apache/kafka/pull/11831


   When we set broker config as follows
   ```
   security.inter.broker.protocol=
   inter.broker.listener.name=INNER
   ```
   and restart broker, the exception 
`org.apache.kafka.common.config.ConfigException: Only one of 
inter.broker.listener.name and security.inter.broker.protocol should be set.` 
will be throw and server start failed.
   
   This pr will 
   (1) add a nonEmpty check for value of InterBrokerSecurityProtocolProp to 
make through empty value case
   (2) detailed info When exception throw
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to