public static interface MicrobatchSourceOptions.Impl extends MicrobatchSourceOptions
MicrobatchSourceOptions.Impl
Modifier and Type | Method and Description |
---|---|
MicrobatchSourceOptions.Impl |
startFromBeginning()
Start processing from beginning of depot partition.
|
MicrobatchSourceOptions.Impl |
startFromOffsetAfterTimestamp(long millis)
Start processing each depot partition from a point in the past.
|
MicrobatchSourceOptions.Impl |
startFromOffsetAgo(long amt,
OffsetAgo unit)
Start processing each depot partition from a point in the past.
|
create, startFromBeginning, startFromOffsetAfterTimestamp, startFromOffsetAgo
MicrobatchSourceOptions.Impl startFromBeginning()
MicrobatchSourceOptions.Impl startFromOffsetAgo(long amt, OffsetAgo unit)
amt
- How far back to start in terms of specified unitunit
- Cardinality or time-based unitMicrobatchSourceOptions.Impl startFromOffsetAfterTimestamp(long millis)
millis
- Timestamp based on number of milliseconds since midnight, January 1, 1970 UTC