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
  • StreamExecutionEnvironment
  • pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_restart_strategy

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_restart_strategy#

StreamExecutionEnvironment.set_restart_strategy(restart_strategy_configuration: 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:

Note

Deprecated since version 1.19: This method is deprecated and will be removed in future FLINK major version. Use stream_execution_environment.configure method instead to set the restart strategy.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_default_savepoint_directory

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_restart_strategy

On this page
  • StreamExecutionEnvironment.set_restart_strategy()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.