Sebastien Viale created KAFKA-16811:
---------------------------------------
Summary: 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
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)