|
Measures reported by KafkaControlTest
In a Kafka cluster, one of the brokers serves as the controller, which is responsible for managing the states of partitions and replicas and for performing administrative tasks like reassigning partitions.
This test monitors the partitions managed by the controller and for each partition, reports whether the partition is active and running.
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 |
| controllerState |
Indicates the number of brokers designated as controllers. |
Count |
|
| activeController |
Indicates the state the controller is in, i.e. the event that is currently being processed. |
|
The values reported by this measure and its numeric equivalents are mentioned in the table below:
| Measure Value |
Numeric Value |
| Idle/td>
| 0 |
| Controller change |
1 |
| Broker change |
2 |
| Topic creation |
3 |
| Topic deletion |
4 |
| Partition reassignment |
5 |
| Auto leader balance |
6 |
| Manual leader balance |
7 |
| Controlled shutdown |
8 |
| ISR change |
9 |
Note:
By default, this measure reports the Measure Values listed in the table above to indicate the state the controller is in, i.e. the event that is currently being processed.
|
| globalPartition |
Indicates that the Global Partition is updated when the Controller Event Thread gets a Topic Change, Topic Deletion, and Partition Reassignment request and is purged on Controller failover. |
Count |
|
| globalTopic |
Indicates that the Global Topic is updated when the Controller Event Thread gets a Topic Change and Topic Deletion request and is purged on Controller failover. |
Count |
|
| offlinePartitions |
Indicates the number of partitions that do not have an active leader and are hence not writable or readable. |
Count |
Alert will be given when this value is greater than 0.
|
| preferedReplicaImbalance |
Indicates the imbalance count in the preferred replica. |
Count |
|
| replicaIneligbleToDelete |
Indicates the count of ineligible pending replica to be deleted. |
Count |
|
| replicasToDelete |
Indicates the count of pending replica to be deleted. |
Count |
|
| topicsIneligibleToDelete |
Indicates the count of ineligible pending topic to be deleted. |
Count |
|
| topicsToDelete |
Indicates the count of pending topic to be deleted. |
Count |
|
|