Class GenerateInitialPartitionsAction
java.lang.Object
org.apache.beam.sdk.io.gcp.bigtable.changestreams.action.GenerateInitialPartitionsAction
Class to generate first set of outputs for
DetectNewPartitionsDoFn
.-
Constructor Summary
ConstructorsConstructorDescriptionGenerateInitialPartitionsAction
(ChangeStreamMetrics metrics, ChangeStreamDao changeStreamDao, Instant endTime) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(DoFn.OutputReceiver<PartitionRecord> receiver, Instant startTime) The very first step of the pipeline when there are no partitions being streamed yet.
-
Constructor Details
-
GenerateInitialPartitionsAction
public GenerateInitialPartitionsAction(ChangeStreamMetrics metrics, ChangeStreamDao changeStreamDao, @Nullable Instant endTime)
-
-
Method Details
-
run
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.
-