linlinnn opened a new pull request #9794: URL: https://github.com/apache/pulsar/pull/9794
### Motivation see #9757 add cmd to get service url of the leader broker. ### Modifications add cmd parameter "leader-broker" in CmdBrokers, and provide "/admin/v2/brokers/leaderBroker" web endpoint to get service url of the leader broker. ### Verifying this change - [ ] Make sure that the change passes the CI checks. ### Documentation - Does this pull request introduce a new feature? yes - If yes, how is the feature documented? ( JavaDocs ) ---------------------------------------------------------------- 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