@Experimental
public interface ProcessConfigurable<T extends ProcessConfigurable<T>>
| Modifier and Type | Method and Description |
|---|---|
T |
withMaxParallelism(int maxParallelism)
Sets the maximum parallelism of this operator.
|
T |
withName(String name)
Sets the name of the current data stream.
|
T |
withParallelism(int parallelism)
Sets the parallelism for this process operator.
|
T |
withSlotSharingGroup(org.apache.flink.api.common.SlotSharingGroup slotSharingGroup)
Sets the slot sharing group of this operation.
|
T |
withUid(String uid)
Sets an ID for this operator.
|
T withUid(String uid)
The specified ID is used to assign the same process operator ID across job submissions (for example when starting a job from a savepoint).
Important: this ID needs to be unique per transformation and job. Otherwise, job submission will fail.
uid - The unique user-specified ID of this transformation.T withName(String name)
T withParallelism(int parallelism)
parallelism - The parallelism for this operator.T withMaxParallelism(int maxParallelism)
The maximum parallelism specifies the upper bound for dynamic scaling. It also defines the number of key groups used for partitioned state.
maxParallelism - Maximum parallelismT withSlotSharingGroup(org.apache.flink.api.common.SlotSharingGroup slotSharingGroup)
Operations inherit the slot sharing group of input operations if all input operations are in the same slot sharing group and no slot sharing group was explicitly specified.
Initially an operation is in the default slot sharing group. An operation can be put into
the default group explicitly by setting the slot sharing group with name "default".
slotSharingGroup - Which contains name and its resource spec.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.