Interface ParallelSourceFunction<OUT>

Type Parameters:
OUT - The type of the records produced by this source.
All Superinterfaces:
org.apache.flink.api.common.functions.Function, Serializable, SourceFunction<OUT>
All Known Implementing Classes:
FromSplittableIteratorFunction, InputFormatSourceFunction, RichParallelSourceFunction, StatefulSequenceSource

@Internal public interface ParallelSourceFunction<OUT> extends SourceFunction<OUT>
Deprecated.
This interface is based on the SourceFunction API, which is due to be removed. Use the new Source API instead.
A stream data source that is executed in parallel. Upon execution, the runtime will execute as many parallel instances of this function as configured parallelism of the source.

This interface acts only as a marker to tell the system that this source may be executed in parallel. When different parallel instances are required to perform different tasks, use the RichParallelSourceFunction to get access to the runtime context, which reveals information like the number of parallel tasks, and which parallel task the current instance is.