[ https://issues.apache.org/jira/browse/FLINK-37383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-37383: ----------------------------------- Labels: pull-request-available (was: ) > ThrottleIterator from examples/utils does not properly throttle on next > window after throttle is applied > -------------------------------------------------------------------------------------------------------- > > Key: FLINK-37383 > URL: https://issues.apache.org/jira/browse/FLINK-37383 > Project: Flink > Issue Type: Bug > Components: Examples > Affects Versions: 1.20.1 > Reporter: Rafael Zimmermann > Priority: Minor > Labels: pull-request-available > > The throttle function available on > `flink-examples/flink-examples-streaming/src/main/java/org/apache/flink/streaming/examples/utils/ThrottledIterator.java` > is updating its last batch check time before the sleep operation, causing it > to underestimate the elapsed time and allow approximately double the intended > throughput rate. > [##26203](https://github.com/apache/flink/pull/26203) contains a fix for it -- This message was sent by Atlassian Jira (v8.20.10#820010)