You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ron Dagostino (Jira)" <ji...@apache.org> on 2021/07/27 15:01:00 UTC
[jira] [Created] (KAFKA-13140) KRaft brokers do not expose
kafka.controller metrics, breaking backwards compatibility
Ron Dagostino created KAFKA-13140:
-------------------------------------
Summary: KRaft brokers do not expose kafka.controller metrics, breaking backwards compatibility
Key: KAFKA-13140
URL: https://issues.apache.org/jira/browse/KAFKA-13140
Project: Kafka
Issue Type: Bug
Components: kraft
Affects Versions: 2.8.0, 3.0.0
Reporter: Ron Dagostino
Assignee: Ron Dagostino
Fix For: 3.1.0
The following controller metrics are exposed on every broker in a ZooKeeper-based (i.e. non-KRaft) cluster regardless of whether the broker is the active controller or not, but these metrics are not exposed on KRaft nodes that have process.roles=broker (i.e. KRaft nodes that do not implement the controller role). For backwards compatibility, KRaft nodes that are just brokers should expose these metrics with values all equal to 0: just like ZooKeeper-based brokers do when they are not the active controller.
kafka.controller:type=KafkaController,name=ActiveControllerCount
kafka.controller:type=KafkaController,name=GlobalTopicCount
kafka.controller:type=KafkaController,name=GlobalPartitionCount
kafka.controller:type=KafkaController,name=OfflinePartitionsCount
kafka.controller:type=KafkaController,name=PreferredReplicaImbalanceCount
--
This message was sent by Atlassian Jira
(v8.3.4#803005)