Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Asynchronous I/O
    • Connectors
    • Formats
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink DataStream
  • Checkpoint
  • pyflink.datastream.checkpoint_config.ExternalizedCheckpointCleanup

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.

note:: Deprecated. Please use pyflink.datastream.externalized_checkpoint_retention.ExternalizedCheckpointRetention instead.

Attributes

DELETE_ON_CANCELLATION

RETAIN_ON_CANCELLATION

NO_EXTERNALIZED_CHECKPOINTS

previous

pyflink.datastream.checkpoint_config.CheckpointConfig.get_checkpoint_storage

next

pyflink.datastream.checkpoint_config.ExternalizedCheckpointRetention

On this page
  • ExternalizedCheckpointCleanup

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.