KIP-1184 — Add connector name and task index tags to MirrorMaker tasks' metrics
Discussion MirrorMakerMetrics
Adds `connector.name` and `task.index` tags to the `Metrics` instance created per MirrorMaker task, and uses `source` + `target` cluster as default tags, to prevent metric name collisions across multiple tasks and cluster directions. MirrorMaker tasks currently create `Metrics` instances without tags, causing `kafka_metrics_count` (and other tag-less metrics) to collide when multiple tasks or multiple replication directions share the same JVM.
Details
| Author | Jhen-Yung Hsu |
| Status | Discussion |
| JIRA | KAFKA-19168 |
| Wiki | View on Apache Wiki |
| Created | 2025-05-20 |
| Last Modified | 2025-08-07 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.