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

CheckpointConfig.set_tolerable_checkpoint_failure_number(tolerable_checkpoint_failure_number: int) → pyflink.datastream.checkpoint_config.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

Show Source

Created using Sphinx 4.5.0.