[
https://issues.apache.org/jira/browse/KAFKA-19168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18013823#comment-18013823
]
Jhen-Yung Hsu commented on KAFKA-19168:
---------------------------------------
Here is the KIP: https://cwiki.apache.org/confluence/x/vomKFQ.
I also created the discussion thread a few days ago:
https://lists.apache.org/thread/vdhfxlzkb8z7gpgky69y9qxw9cqjpog8. Thanks.
> 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)