[ https://issues.apache.org/jira/browse/KAFKA-19168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jhen-Yung Hsu reassigned KAFKA-19168: ------------------------------------- Assignee: Jhen-Yung Hsu > MirrorMaker kafka_metrics_count metric is always incorrect > ---------------------------------------------------------- > > Key: KAFKA-19168 > URL: https://issues.apache.org/jira/browse/KAFKA-19168 > Project: Kafka > Issue Type: Improvement > Reporter: Mickael Maison > Assignee: Jhen-Yung Hsu > Priority: Major > > Each MirrorMaker task creates its own Metrics instance without passing any > tags. While most metrics created by tasks won't collide because they have > tags for a specific topic partition or group, the kafka_metrics_count, which > is always created, always collide. > So for example if you run 2 MirrorSourceConnector tasks, the > kafka.connect.mirror:type=kafka-metrics-count metric is set to 13, while > there's actually 26 metrics, 13 for each task. > Instead each task should provide tags (its name and index) so we get a > kafka.connect.mirror:type=kafka-metrics-count metric per task. -- This message was sent by Atlassian Jira (v8.20.10#820010)