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

Compare with Current View Page History

« Previous Version 3 Next »

This page is meant as a template for writing a KIP. To create a KIP choose Tools->Copy on this page and modify with your content and replace the heading with the next KIP number and a description of your issue. Replace anything in italics with your own description.

Status

Current state[Under Discussion]

Discussion thread: here 

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=KafkaController

Attribute NameDescription
RegisteredBrokerCountThe number of brokers registered in a cluster.

kafka.controller:type=KafkaController

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


Compatibility, Deprecation, and Migration Plan

N/A

Rejected Alternatives

N/A

  • No labels