Status
Current state: [Under Discussion]
Discussion thread: here
JIRA: https://issues.apache.org/jira/browse/KAFKA-12882
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
Motivation
A broker may be alive but unable to establish new connections, emit metrics, or emit logs due to failed DNS resolution. It would be helpful to have a metric that counts the number of brokers registered to a cluster since it is not altogether obvious that a particular broker is not emitting metrics or logs. It would also be helpful to count the number of unfenced brokers so that it is known how many brokers are present in the metadata response and how many are not.
Public Interfaces
kafka.controller:type=KafkaController
Attribute Name | Description |
---|---|
RegisteredBrokerCount | The number of brokers registered in a cluster. |
kafka.controller:type=KafkaController
Attribute Name | Description |
---|---|
UnfencedBrokerCount | The number of registered unfenced brokers in a cluster. |
Compatibility, Deprecation, and Migration Plan
N/A
Rejected Alternatives
N/A