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/26 17:30:00 UTC

[jira] [Created] (KAFKA-13137) KRaft Controller Metric MBean names are incorrectly quoted

Ron Dagostino created KAFKA-13137:
-------------------------------------

             Summary: KRaft Controller Metric MBean names are incorrectly quoted
                 Key: KAFKA-13137
                 URL: https://issues.apache.org/jira/browse/KAFKA-13137
             Project: Kafka
          Issue Type: Bug
          Components: controller
    Affects Versions: 2.8.0, 3.0.0
            Reporter: Ron Dagostino
            Assignee: Ron Dagostino
             Fix For: 3.0.0


QuorumControllerMetrics is letting com.yammer.metrics.MetricName create the MBean names for all of the controller metrics, and that adds quotes.  We have typically used KafkaMetricsGroup to explicitly create the MBean name, and we do not add quotes there.  The controller metric names that are in common between the old and new controller must remain the same, but they are not.  For example, this non-KRaft MBean name:

kafka.controller:type=KafkaController,name=OfflinePartitionsCount

has morphed into this when using KRaft:

"kafka.controller":type="KafkaController",name="OfflinePartitionsCount"





--
This message was sent by Atlassian Jira
(v8.3.4#803005)