Class GenerateInitialPartitionsAction
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.bigtable.changestreams.action.GenerateInitialPartitionsAction
-
@Internal public class GenerateInitialPartitionsAction extends java.lang.ObjectClass to generate first set of outputs forDetectNewPartitionsDoFn.
-
-
Constructor Summary
Constructors Constructor Description GenerateInitialPartitionsAction(ChangeStreamMetrics metrics, ChangeStreamDao changeStreamDao, org.joda.time.Instant endTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(org.apache.beam.sdk.transforms.DoFn.OutputReceiver<PartitionRecord> receiver, org.joda.time.Instant startTime)The very first step of the pipeline when there are no partitions being streamed yet.
-
-
-
Constructor Detail
-
GenerateInitialPartitionsAction
public GenerateInitialPartitionsAction(ChangeStreamMetrics metrics, ChangeStreamDao changeStreamDao, @Nullable org.joda.time.Instant endTime)
-
-
Method Detail
-
run
public void run(org.apache.beam.sdk.transforms.DoFn.OutputReceiver<PartitionRecord> receiver, org.joda.time.Instant startTime)
The very first step of the pipeline when there are no partitions being streamed yet. We want to get an initial list of partitions to stream and output them.
-
-