Mickael Maison created KAFKA-19168: -------------------------------------- Summary: 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
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)