Package com.rpl.rama.module
Interface StreamSourceOptions.Impl
- All Superinterfaces:
StreamSourceOptions
- Enclosing interface:
StreamSourceOptions
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rpl.rama.module.StreamSourceOptions
StreamSourceOptions.Impl -
Method Summary
Modifier and TypeMethodDescriptionSpecifies aggregator to use for ack returns for processing off of this depot.Specifies aggregator to use for ack returns for processing off of this depot.ackReturnAgg(RamaFunction1<Object, Agg> agg) Specifies aggregator to use for ack returns for processing off of this depot.Retry failed records and all records after in the same depot partitionNever retry a failed depot recordThe source ID for this subscription.Start processing from beginning of depot partition.startFromOffsetAfterTimestamp(long millis) Start processing each depot partition from a point in the past.startFromOffsetAgo(long amt, OffsetAgo unit) Start processing each depot partition from a point in the past.
-
Method Details
-
sourceId
The source ID for this subscription. -
retryAllAfter
StreamSourceOptions.Impl retryAllAfter()Retry failed records and all records after in the same depot partition- See Also:
-
retryNone
StreamSourceOptions.Impl retryNone()Never retry a failed depot record- See Also:
-
startFromBeginning
StreamSourceOptions.Impl startFromBeginning()Start processing from beginning of depot partition. Only takes effect the first time the topology encounters this depot.- See Also:
-
startFromOffsetAgo
Start processing each depot partition from a point in the past. Only takes effect the first time the topology encounters this depot.- Parameters:
amt- How far back to start in terms of specified unitunit- Cardinality or time-based unit- See Also:
-
startFromOffsetAfterTimestamp
Start processing each depot partition from a point in the past. Only takes effect the first time the topology encounters this depot.- Parameters:
millis- Timestamp based on number of milliseconds since midnight, January 1, 1970 UTC- See Also:
-
ackReturnAgg
Specifies aggregator to use for ack returns for processing off of this depot. Aggregator can be custom accumulator, custom combiner, or built-in aggregator. Built-in aggregators are specified like.ackReturnAgg(Agg::sum).- Parameters:
agg- Aggregator to use- See Also:
-
ackReturnAgg
Specifies aggregator to use for ack returns for processing off of this depot. Aggregator can be custom accumulator, custom combiner, or built-in aggregator. Built-in aggregators are specified like.ackReturnAgg(Agg::sum).- Parameters:
agg- Aggregator to use- See Also:
-
ackReturnAgg
Specifies aggregator to use for ack returns for processing off of this depot. Aggregator can be custom accumulator, custom combiner, or built-in aggregator. Built-in aggregators are specified like.ackReturnAgg(Agg::sum).- Parameters:
agg- Aggregator to use- See Also:
-