[ 
https://issues.apache.org/jira/browse/KAFKA-9977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17104611#comment-17104611
 ] 

Chris Egerton commented on KAFKA-9977:
--------------------------------------

[~tharindu] can you provide steps to reproduce?

If not, some helpful things to know include the connector config, the worker 
config, and whether any of the tasks failed before being deleted (and if so, 
what caused them to fail).

Thanks!

> Kafka Connect Task level error metrics exposed via JMX not removed on 
> connector delete
> --------------------------------------------------------------------------------------
>
>                 Key: KAFKA-9977
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9977
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 2.3.1
>            Reporter: Tharindu
>            Priority: Major
>              Labels: metrics
>
> When collecting metrics at a task level exposed via JMX it was noticed that 
> task level metrics reported under 
> *_kafka.connect:type=task-error-metrics,connector="\{connector}",task="\{task}"_*
> were not being removed on connector deletion resulting in us collecting 
> metrics for tasks no longer active. 
> In the source code I could not find a point where these metrics were cleaned 
> up. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to