You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2019/11/22 10:16:00 UTC
[jira] [Commented] (FLINK-14884) User defined function for
checkpoint trigger time and interval behavior
[ https://issues.apache.org/jira/browse/FLINK-14884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16980038#comment-16980038 ]
Piotr Nowojski commented on FLINK-14884:
----------------------------------------
Have you looked at {{org.apache.flink.streaming.api.checkpoint.ExternallyInducedSource}}? It allows sources to trigger checkpoints manually.
Keep in mind that this {{@PublicEvolving}} API, that is also currently being slightly modified. In Flink 1.10 {{MasterTriggerRestoreHook#triggerCheckpoint}} is required to be non blocking - you can take a look at FLINK-14344 (especially release notes).
> User defined function for checkpoint trigger time and interval behavior
> -----------------------------------------------------------------------
>
> Key: FLINK-14884
> URL: https://issues.apache.org/jira/browse/FLINK-14884
> Project: Flink
> Issue Type: Wish
> Components: Runtime / Checkpointing
> Reporter: Shuwen Zhou
> Priority: Major
>
> Hi,
> I wish to have control on checkpoint trigger time and interval time behavior by user defined function.
> For some cases I would like to skip checkpoint during a certain hour or certain minutes or vice versa.
> And some cases during several hours I would like to increase checkpoint interval.
> And some case A crontab style could be used simply.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)