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.stream_execution_environment.StreamExecutionEnvironment.set_restart_strategy#

StreamExecutionEnvironment.set_restart_strategy(restart_strategy_configuration: pyflink.common.restart_strategy.RestartStrategyConfiguration)[source]#

Sets the restart strategy configuration. The configuration specifies which restart strategy will be used for the execution graph in case of a restart.

Example:

>>> env.set_restart_strategy(RestartStrategies.no_restart())
Parameters

restart_strategy_configuration – Restart strategy configuration to be set.

Returns

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_default_savepoint_directory

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_restart_strategy

Show Source

Created using Sphinx 4.5.0.