Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14054

Enable checkpointing via job configuration

    XMLWordPrintableJSON

Details

    Description

      Currently enabling checkpointing can only be done via the job code, see the following quote from this Flink checkpointing doc:

      By default, checkpointing is disabled. To enable checkpointing, call enableCheckpointing on the StreamExecutionEnvironment, where n is the checkpoint interval in milliseconds.

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            qinjunjerry Jun Qin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: