crossoverJie opened a new issue, #19403: URL: https://github.com/apache/pulsar/issues/19403
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation I want to get the load information of all brokers and currently, I can only do it by a loop call `org.apache.pulsar.client.admin.BrokerStats#getLoadReport` Also, I need to save additional IP information for all brokers. ### Solution Add a new admin API `getAllLoadReport()` to get information about all brokers. ### Alternatives At the moment I can think of two implementation options: - Internally call the `getLoadReport` API of all brokers to aggregate their data. - Refer to the `org.apache.pulsar.testclient.BrokerMonitor` implementation to get information from `ZooKeeper`. https://github.com/apache/pulsar/blob/002fa49692ff4b8b038bf2edeeb3b32ed218e64f/pulsar-testclient/src/main/java/org/apache/pulsar/testclient/BrokerMonitor.java#L51-L55 Any better suggestions? ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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]
