public static interface StreamSourceOptions.Impl extends StreamSourceOptions
StreamSourceOptions.Impl
Modifier and Type | Method and Description |
---|---|
StreamSourceOptions.Impl |
ackReturnAgg(RamaAccumulatorAgg1 agg)
Specifies aggregator to use for ack returns for processing off of this depot.
|
StreamSourceOptions.Impl |
ackReturnAgg(RamaCombinerAgg agg)
Specifies aggregator to use for ack returns for processing off of this depot.
|
StreamSourceOptions.Impl |
ackReturnAgg(RamaFunction1<java.lang.Object,Agg> agg)
Specifies aggregator to use for ack returns for processing off of this depot.
|
StreamSourceOptions.Impl |
retryAllAfter()
Retry failed records and all records after in the same depot partition
|
StreamSourceOptions.Impl |
retryNone()
Never retry a failed depot record
|
StreamSourceOptions.Impl |
startFromBeginning()
Start processing from beginning of depot partition.
|
StreamSourceOptions.Impl |
startFromOffsetAfterTimestamp(long millis)
Start processing each depot partition from a point in the past.
|
StreamSourceOptions.Impl |
startFromOffsetAgo(long amt,
OffsetAgo unit)
Start processing each depot partition from a point in the past.
|
ackReturnAgg, ackReturnAgg, ackReturnAgg, create, retryAllAfter, retryNone, startFromBeginning, startFromOffsetAfterTimestamp, startFromOffsetAgo
StreamSourceOptions.Impl retryAllAfter()
StreamSourceOptions.Impl retryNone()
StreamSourceOptions.Impl startFromBeginning()
StreamSourceOptions.Impl startFromOffsetAgo(long amt, OffsetAgo unit)
amt
- How far back to start in terms of specified unitunit
- Cardinality or time-based unitStreamSourceOptions.Impl startFromOffsetAfterTimestamp(long millis)
millis
- Timestamp based on number of milliseconds since midnight, January 1, 1970 UTCStreamSourceOptions.Impl ackReturnAgg(RamaAccumulatorAgg1 agg)
.ackReturnAgg(Agg::sum)
.agg
- Aggregator to useStreamSourceOptions.Impl ackReturnAgg(RamaCombinerAgg agg)
.ackReturnAgg(Agg::sum)
.agg
- Aggregator to useStreamSourceOptions.Impl ackReturnAgg(RamaFunction1<java.lang.Object,Agg> agg)
.ackReturnAgg(Agg::sum)
.agg
- Aggregator to use