You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/06/05 08:48:00 UTC

[jira] [Closed] (FLINK-17816) Change Latency Marker to work with "scheduleAtFixedDelay" instead of "scheduleAtFixedRate"

     [ https://issues.apache.org/jira/browse/FLINK-17816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-17816.
------------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

master: d991b1ad03fc470e50507141a92a1d56f0f510e6

> Change Latency Marker to work with "scheduleAtFixedDelay" instead of "scheduleAtFixedRate"
> ------------------------------------------------------------------------------------------
>
>                 Key: FLINK-17816
>                 URL: https://issues.apache.org/jira/browse/FLINK-17816
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Task
>            Reporter: Stephan Ewen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> Latency Markers and other periodic timers are scheduled with {{scheduleAtFixedRate}}. That means every X time the callable is called. If it blocks (backpressure) is can be called immediately again.
> I would suggest to switch this to {{scheduleAtFixedDelay}}  to avoid calling for a lot of latency marker injections when there is no way to actually execute the injection call.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)