Guozhang Wang created KAFKA-2733: ------------------------------------ Summary: Distinguish metric names inside the sensor registry Key: KAFKA-2733 URL: https://issues.apache.org/jira/browse/KAFKA-2733 Project: Kafka Issue Type: Sub-task Reporter: Guozhang Wang Fix For: 0.9.0.1
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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)