public class ResumeFromPreviousPipelineAction
extends java.lang.Object
Constructor and Description |
---|
ResumeFromPreviousPipelineAction(ChangeStreamMetrics metrics,
MetadataTableDao metadataTableDao,
Instant endTime,
ProcessNewPartitionsAction processNewPartitionsAction) |
Modifier and Type | Method and Description |
---|---|
void |
run(DoFn.OutputReceiver<PartitionRecord> receiver)
Resume from previously drained pipeline.
|
public ResumeFromPreviousPipelineAction(ChangeStreamMetrics metrics, MetadataTableDao metadataTableDao, @Nullable Instant endTime, ProcessNewPartitionsAction processNewPartitionsAction)
public void run(DoFn.OutputReceiver<PartitionRecord> receiver) throws com.google.protobuf.InvalidProtocolBufferException
receiver
- output receiver to outputcom.google.protobuf.InvalidProtocolBufferException
- when failing to read from metadata table.