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

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()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.