Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9977

Kafka Connect Task level error metrics exposed via JMX not removed on connector delete

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.1
    • None
    • connect

    Description

      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. 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tharindu Tharindu

            Dates

              Created:
              Updated:

              Slack

                Issue deployment