@PublicEvolving
public interface ParallelismProvider
| Modifier and Type | Method and Description |
|---|---|
default Optional<Integer> |
getParallelism()
Returns the parallelism for this instance.
|
default Optional<Integer> getParallelism()
The parallelism denotes how many parallel instances of a source or sink will be spawned during the execution.
Enforcing a different parallelism for sources/sinks might mess up the changelog if the
output/input is not ChangelogMode.insertOnly(). Therefore, a primary key is required
by which the output/input will be shuffled after/before records leave/enter the ScanTableSource.ScanRuntimeProvider/DynamicTableSink.SinkRuntimeProvider implementation.
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.