You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2021/07/29 20:17:00 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-13137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Gustafson updated KAFKA-13137:
------------------------------------
    Affects Version/s:     (was: 3.0.0)

> 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
>            Reporter: Ron Dagostino
>            Assignee: Ron Dagostino
>            Priority: Blocker
>             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)