java.lang.Object
org.apache.beam.runners.flink.translation.wrappers.streaming.io.source.FlinkSource<T,WindowedValue<T>>
org.apache.beam.runners.flink.translation.wrappers.streaming.io.source.bounded.FlinkBoundedSource<T>
Type Parameters:
T - The output type of the wrapped Beam BoundedSource.
All Implemented Interfaces:
Serializable, org.apache.flink.api.connector.source.Source<WindowedValue<T>,FlinkSourceSplit<T>,Map<Integer,List<FlinkSourceSplit<T>>>>, org.apache.flink.api.connector.source.SourceReaderFactory<WindowedValue<T>,FlinkSourceSplit<T>>

public class FlinkBoundedSource<T> extends FlinkSource<T,WindowedValue<T>>
A Flink Source implementation that wraps a Beam BoundedSource.

A FlinkBoundedSource can run in either batch or streaming mode, depending on its Boundedness setting. For a BoundedSource running in streaming mode, it is acting like a "finite stream".

See Also:
  • Field Details

  • Constructor Details

    • FlinkBoundedSource

      public FlinkBoundedSource(String stepName, BoundedSource<T> beamSource, org.apache.beam.runners.core.construction.SerializablePipelineOptions serializablePipelineOptions, org.apache.flink.api.connector.source.Boundedness boundedness, int numSplits)
    • FlinkBoundedSource

      public FlinkBoundedSource(String stepName, BoundedSource<T> beamSource, org.apache.beam.runners.core.construction.SerializablePipelineOptions serializablePipelineOptions, org.apache.flink.api.connector.source.Boundedness boundedness, int numSplits, @Nullable FlinkSource.TimestampExtractor<WindowedValue<T>> timestampExtractor)
  • Method Details