showuon opened a new pull request #8675:
URL: https://github.com/apache/kafka/pull/8675


   When running
   `bin/kafka-configs.sh --describe --bootstrap-server localhost:9092 
--entity-type brokers`
   the output will be:
   Dynamic configs for broker 0 are: ....
   Dynamic configs for broker <default> are:
   **The entity name for brokers must be a valid integer broker id, found: 
<default>**
   
   I found it's because we set the default entity name for broker as 
`<default>`, which should be empty string "". Also add the missing tests for 
the describe broker without entity name case.
   
   ### 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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to