wangjialing218 opened a new pull request, #14702:
URL: https://github.com/apache/pulsar/pull/14702
### Motivation
In order to list brokers in cluster, we need pass cluster name to admin api,
although we only have one local cluster.
In case of get the broker list for local cluster, we could ignore the
cluster name just like other admin api.
### Modifications
Add admin api to get broker list for local cluster without cluster name.
### Verifying this change
This change added tests and can be verified as follows:
AdminApiTest
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- The public API: (yes)
- The admin cli options: (yes)
### Documentation
Check the box below or label this PR directly (if you have committer
privilege).
Need to update docs?
- [x] `doc`
--
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]