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

Connect: Some per-task-metrics not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • connect
    • None

    Description

      Some Kafka-Connect-metrics seems to be wrong with respect to per-task - at least it seems like MBean "kafka.connect:type=source-task-metrics,connector=<connector-name>,task=x" attribute "source-record-active-count" reports the same number for all x tasks running in the same Kafka-Connect instance/JVM. E.g. if I have a source-connector "my-connector" with 2 tasks that both run in the same Kafka-Connect instance, but I know that only one of them actually produces anything (and therefore can have "active source-records") both "kafka.connect:type=source-task-metrics,connector=my-connector,task=0" and "kafka.connect:type=source-task-metrics,connector=my-connector,task=1" goes up (following each other). It should only go up for the one task that actually produces something.

      Attachments

        Issue Links

          Activity

            People

              rayokota Robert Yokota
              steff1193 Per Steffensen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: