Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

pyflink.datastream.checkpoint_config.ExternalizedCheckpointCleanup#

class ExternalizedCheckpointCleanup(value)[source]#

Cleanup behaviour for externalized checkpoints when the job is cancelled.

DELETE_ON_CANCELLATION:

Delete externalized checkpoints on job cancellation.

All checkpoint state will be deleted when you cancel the owning job, both the meta data and actual program state. Therefore, you cannot resume from externalized checkpoints after the job has been cancelled.

Note that checkpoint state is always kept if the job terminates with state FAILED.

RETAIN_ON_CANCELLATION:

Retain externalized checkpoints on job cancellation.

All checkpoint state is kept when you cancel the owning job. You have to manually delete both the checkpoint meta data and actual program state after cancelling the job.

Note that checkpoint state is always kept if the job terminates with state FAILED.

NO_EXTERNALIZED_CHECKPOINTS:

Externalized checkpoints are disabled completely.

Attributes

DELETE_ON_CANCELLATION

RETAIN_ON_CANCELLATION

NO_EXTERNALIZED_CHECKPOINTS

previous

pyflink.datastream.checkpoint_config.CheckpointConfig.get_checkpoint_storage

next

pyflink.datastream.checkpoint_storage.JobManagerCheckpointStorage

On this page
  • ExternalizedCheckpointCleanup
Show Source

Created using Sphinx 5.3.0.