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

Jay Kreps commented on KAFKA-3027:
----------------------------------

The window should advance either when an update comes or when the value is read 
(e.g. SampledStat.measure()), is that not happening?

> Kafka metrics can be stale if there is no new update
> ----------------------------------------------------
>
>                 Key: KAFKA-3027
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3027
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.8.2.0, 0.9.0.0
>            Reporter: Jun Rao
>
> Currently, org.apache.kafka.common.metrics has the issue that the reported 
> metric value can be stale if there is no new update. For example, in the 
> producer, if no new data is sent to the producer instance, metrics such as 
> record rate will be stale.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to