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

Matthias J. Sax commented on KAFKA-16811:
-----------------------------------------

Let's more the discussion on the PR

> Punctuate Ratio metric almost impossible to track
> -------------------------------------------------
>
>                 Key: KAFKA-16811
>                 URL: https://issues.apache.org/jira/browse/KAFKA-16811
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 3.7.0
>            Reporter: Sebastien Viale
>            Assignee: Ganesh Sadanala
>            Priority: Minor
>          Time Spent: 48h
>  Remaining Estimate: 0h
>
> The Punctuate ratio metric is returned after the last record of the poll 
> loop. It is recomputed in every poll loop.
> After a puntuate, the value is close to 1, but there is little chance that 
> metric is sampled at this time. 
> So its value is almost always 0.   
> A solution could be to apply a kind of "sliding window" to it and report the 
> value for the last x seconds.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to