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.get_max_parallelism#

StreamExecutionEnvironment.get_max_parallelism() → int[source]#

Gets the maximum degree of parallelism defined for the program.

The maximum degree of parallelism specifies the upper limit for dynamic scaling. It also defines the number of key groups used for partitioned state.

Returns

Maximum degree of parallelism.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_parallelism

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_runtime_mode

On this page
  • StreamExecutionEnvironment.get_max_parallelism()
Show Source

Created using Sphinx 5.3.0.