eG Monitoring
 

Measures reported by KafkaZookperTest

Zookeeper is used for managing and coordinating brokers (set of servers) in Apache Kafka Message System. Zookeeper keeps track of Kafka topics, partitions etc. Zookeeper allows multiple clients to perform simultaneous reads and writes and acts as a shared configuration service within the system.

This test monitors the status of the broker’s connection to Zookeeper. Using this test, the administrators can analyze the connectivity between the Zookeeper and the Broker and isolate bottlenecks, if any.

Outputs of the test: One set of results for the target Apache Kafka Message System.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
zookeeperSessionState Indicates the status of the broker’s connection to Zookeeper. Count

The values reported by this measure and its numeric equivalents are mentioned in the table below:

Measure Value Numeric Value
Connected 1
Disconnected 0

Note:

By default, this measure reports the Measure Values listed in the table above to indicate the status of the broker’s connection to Zookeeper.

zooKeeperDisconnects Indicates the number of zookeeper clients currently disconnected from the ensemble. Number

A very low value is required for these measures.

zooKeeperExpires Indicates the number of zookeeper clients currently expired from the ensemble. Number

A very low value is required for these measures.

zooKeeperReadOnlyConnect Indicates the number of Read only connects. Number

 

zooKeeperSyncConnects Indicates the number of zookeeper clients connected to the ensemble and ready to execute operations. Number

A very high value is required for this measure.

zooKeeperAuthFailures Indicates the number of attempts to connect the ensemble but failed due to incorrect credentials. Number

Ideally, the value of this measure should be zero.