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