Class SourceCoordinatorProvider<SplitT extends org.apache.flink.api.connector.source.SourceSplit>

java.lang.Object
org.apache.flink.runtime.operators.coordination.RecreateOnResetOperatorCoordinator.Provider
org.apache.flink.runtime.source.coordinator.SourceCoordinatorProvider<SplitT>
All Implemented Interfaces:
Serializable, OperatorCoordinator.Provider

public class SourceCoordinatorProvider<SplitT extends org.apache.flink.api.connector.source.SourceSplit> extends RecreateOnResetOperatorCoordinator.Provider
The provider of SourceCoordinator.
See Also:
  • Constructor Details

    • SourceCoordinatorProvider

      public SourceCoordinatorProvider(String operatorName, OperatorID operatorID, org.apache.flink.api.connector.source.Source<?,SplitT,?> source, int numWorkerThreads, org.apache.flink.api.common.eventtime.WatermarkAlignmentParams alignmentParams, @Nullable String coordinatorListeningID)
      Parameters:
      operatorName - the name of the operator.
      operatorID - the ID of the operator this coordinator corresponds to.
      source - the Source that will be used for this coordinator.
      numWorkerThreads - the number of threads the should provide to the SplitEnumerator for doing async calls. See SplitEnumeratorContext.callAsync().
  • Method Details