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.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()
Show Source

Created using Sphinx 5.3.0.