Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2590 KIP-28: Kafka Streams Checklist
  3. KAFKA-2733

Distinguish metric names inside the sensor registry

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0.0
    • None
    • None

    Description

      Since stream tasks can share the same StreamingMetrics object, and the MetricName is distinguishable only by the group name (same for the same type of states, and for other streaming metrics) and the tags (currently only the client-ids of the StreamThead), when we have multiple tasks within a single stream thread, it could lead to IllegalStateException upon trying to registry the same metric from those tasks.

      Attachments

        Activity

          People

            guozhang Guozhang Wang
            guozhang Guozhang Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: