You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Rafael Zimmermann (Jira)" <ji...@apache.org> on 2025/02/25 11:35:00 UTC

[jira] [Created] (FLINK-37383) ThrottleIterator from examples/utils does not properly throttle on next window after throttle is applied

Rafael Zimmermann created FLINK-37383:
-----------------------------------------

             Summary: 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


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)