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_runtime_mode#

StreamExecutionEnvironment.set_runtime_mode(execution_mode: pyflink.datastream.execution_mode.RuntimeExecutionMode)[source]#

Sets the runtime execution mode for the application RuntimeExecutionMode. This is equivalent to setting the execution.runtime-mode in your application’s configuration file.

We recommend users to NOT use this method but set the execution.runtime-mode using the command-line when submitting the application. Keeping the application code configuration-free allows for more flexibility as the same application will be able to be executed in any execution mode.

Parameters

execution_mode – The desired execution mode.

Returns

The execution environment of your application.

New in version 1.13.0.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_max_parallelism

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_buffer_timeout

Show Source

Created using Sphinx 4.5.0.