You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Status

Current state[Under Discussion]

Discussion threadhere

JIRAhttps://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=KafkaZkController

Attribute NameDescription
RegisteredBrokerCountThe number of brokers registered in a ZK-based cluster.

kafka.controller:type=KafkaController

Attribute NameDescription
RegisteredBrokerCountThe number of brokers registered in quorum based cluster.

kafka.controller:type=KafkaController

Attribute NameDescription
UnfencedBrokerCountThe number of registered unfenced brokers in a quorum based cluster.


Compatibility, Deprecation, and Migration Plan

N/A

Rejected Alternatives

N/A

  • No labels