You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "TisonKun (Jira)" <ji...@apache.org> on 2019/09/12 06:13:00 UTC

[jira] [Commented] (FLINK-14054) Enable checkpointing via job configuration

    [ https://issues.apache.org/jira/browse/FLINK-14054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16928235#comment-16928235 ] 

TisonKun commented on FLINK-14054:
----------------------------------

Hi [~qinjunjerry]! Thanks for reporting your requirement. I agree that in your specific case enable checkpointing via configuration file instead of configuring inline provides more flexibility.

However, it seems we don't have an aspect setting job configuration in file yet. Maybe extra efforts are required for introducing such an aspect properly first.

CC [~twalthr] & [~till.rohrmann] as you are working on configuration recently.

> Enable checkpointing via job configuration
> ------------------------------------------
>
>                 Key: FLINK-14054
>                 URL: https://issues.apache.org/jira/browse/FLINK-14054
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Configuration
>            Reporter: Jun Qin
>            Priority: Major
>
> Currently enabling checkpointing can only be done via the job code, see the following quote from this Flink [checkpointing|https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/stream/state/checkpointing.html#enabling-and-configuring-checkpointing] doc:
> {quote}By default, checkpointing is disabled. To enable checkpointing, call {{enableCheckpointing(n)}} on the {{StreamExecutionEnvironment}}, where _n_ is the checkpoint interval in milliseconds.
> {quote}
> This makes enabling checkingpointing after the job code has been released difficult: one has to change and rebuild the job code.
> In addition, not only for developer, making checkpointing enabling configurable is also of interest for operation teams:
>  * They may want to enable checkpointing for production but disable in test (e.g., to save storage space)
>  * They may want to try out with and without checkpointing to evaluate the impact to the job behaviour and performance.  
> Therefore, this request.  Thanks.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)