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)

Reply via email to