@Internal
public class GenerateInitialPartitionsAction
extends java.lang.Object
DetectNewPartitionsDoFn
.Constructor and Description |
---|
GenerateInitialPartitionsAction(ChangeStreamMetrics metrics,
ChangeStreamDao changeStreamDao,
org.joda.time.Instant endTime) |
Modifier and Type | Method and Description |
---|---|
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.
|
public GenerateInitialPartitionsAction(ChangeStreamMetrics metrics, ChangeStreamDao changeStreamDao, @Nullable org.joda.time.Instant endTime)
public void run(org.apache.beam.sdk.transforms.DoFn.OutputReceiver<PartitionRecord> receiver, org.joda.time.Instant startTime)