Package org.apache.pulsar.testclient
Class BrokerMonitor
java.lang.Object
org.apache.pulsar.testclient.BrokerMonitor
Monitors brokers and prints to the console information about their system resource usages, their topic and bundle
counts, their message rates, and other metrics.
-
Constructor Summary
ConstructorsConstructorDescriptionBrokerMonitor(ZooKeeper zkClient) Create a broker monitor from the given ZooKeeper client. -
Method Summary
-
Constructor Details
-
BrokerMonitor
Create a broker monitor from the given ZooKeeper client.- Parameters:
zkClient- Client to create this from.
-
-
Method Details
-
start
public void start()Start the broker monitoring procedure. -
main
Run a monitor from command line arguments.- Parameters:
args- Arguments for the monitor.- Throws:
Exception
-