[ https://issues.apache.org/jira/browse/KAFKA-10172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17146032#comment-17146032 ]
Chia-Ping Tsai commented on KAFKA-10172: ---------------------------------------- > After further investigation we found out that some tasks were doubled, so > metrics are truthful. Step to reproduce: just rollout restart connects pods. it seems you have resolved this issue? If so, please close this one :) > [Kafka connect] connectors, tasks metrics doubled > ------------------------------------------------- > > Key: KAFKA-10172 > URL: https://issues.apache.org/jira/browse/KAFKA-10172 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Affects Versions: 2.3.1 > Reporter: Viktor Utkin > Priority: Critical > Attachments: image-2020-06-16-12-42-47-753.png > > > After re-balance of connect cluster (4 nodes in total) we noticed that metrics > * kafka_connect_connect_worker_metrics_task_count > * kafka_connect_connect_worker_metrics_connector_count > are doubled (2x,3x,4x,etc.), so connect show wrong values. > > !image-2020-06-16-12-42-47-753.png|width=481,height=240! > > But when we request number of connector via RESP API it shows only 36: > {code:java} > › curl -s 127.0.0.1:8083/connectors | jq '.[]' | sort | wc -l > 36{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)