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

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.register_slot_sharing_group#

StreamExecutionEnvironment.register_slot_sharing_group(slot_sharing_group: SlotSharingGroup) → StreamExecutionEnvironment[source]#

Register a slot sharing group with its resource spec.

Note that a slot sharing group hints the scheduler that the grouped operators CAN be deployed into a shared slot. There’s no guarantee that the scheduler always deploy the grouped operators together. In cases grouped operators are deployed into separate slots, the slot resources will be derived from the specified group requirements.

Parameters:

slot_sharing_group – Which contains name and its resource spec.

Returns:

This object.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_max_parallelism

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.get_parallelism

On this page
  • StreamExecutionEnvironment.register_slot_sharing_group()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.