Obtaining Cluster Statistics
You can use the BrokerAdminClient.getClusterStats method to obtain statistics about the cluster to which the Broker client's Broker belongs. These statistics include information about the other Brokers in the cluster as well as information about the number of events that have been enqueued, forwarded, and received.
The statistics are returned as a BrokerEvent, for convenience.