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.CheckpointConfig.enable_unaligned_checkpoints

pyflink.datastream.checkpoint_config.CheckpointConfig.enable_unaligned_checkpoints#

CheckpointConfig.enable_unaligned_checkpoints(enabled: bool = True) → CheckpointConfig[source]#

Enables unaligned checkpoints, which greatly reduce checkpointing times under backpressure.

Unaligned checkpoints contain data stored in buffers as part of the checkpoint state, which allows checkpoint barriers to overtake these buffers. Thus, the checkpoint duration becomes independent of the current throughput as checkpoint barriers are effectively not embedded into the stream of data anymore.

Unaligned checkpoints can only be enabled if get_checkpointing_mode() is CheckpointingMode.EXACTLY_ONCE.

Parameters:

enabled – True if a checkpoints should be taken in unaligned mode.

previous

pyflink.datastream.checkpoint_config.CheckpointConfig.is_unaligned_checkpoints_enabled

next

pyflink.datastream.checkpoint_config.CheckpointConfig.disable_unaligned_checkpoints

On this page
  • CheckpointConfig.enable_unaligned_checkpoints()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.