pyflink.datastream.checkpoint_config.CheckpointConfig.disable_unaligned_checkpoints#
- CheckpointConfig.disable_unaligned_checkpoints() pyflink.datastream.checkpoint_config.CheckpointConfig [source]#
Enables unaligned checkpoints, which greatly reduce checkpointing times under backpressure (experimental).
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()
isCheckpointingMode.EXACTLY_ONCE
.