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.set_tolerable_checkpoint_failure_number

pyflink.datastream.checkpoint_config.CheckpointConfig.set_tolerable_checkpoint_failure_number#

CheckpointConfig.set_tolerable_checkpoint_failure_number(tolerable_checkpoint_failure_number: int) → CheckpointConfig[source]#

This defines how many consecutive checkpoint failures will be tolerated, before the whole job is failed over. The default value is 0, which means no checkpoint failures will be tolerated, and the job will fail on first reported checkpoint failure.

Example:

>>> config.set_tolerable_checkpoint_failure_number(2)
Parameters:

tolerable_checkpoint_failure_number – The maximum number of tolerated checkpoint failures.

previous

pyflink.datastream.checkpoint_config.CheckpointConfig.get_tolerable_checkpoint_failure_number

next

pyflink.datastream.checkpoint_config.CheckpointConfig.enable_externalized_checkpoints

On this page
  • CheckpointConfig.set_tolerable_checkpoint_failure_number()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.