Interface ConsumerBuilder.AutoTrackingStrategy
- Enclosing interface:
- ConsumerBuilder
public static interface ConsumerBuilder.AutoTrackingStrategy
Auto-tracking strategy.
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Go back to the builder.flushInterval(Duration flushInterval) Interval to check and stored the last received offset in case of inactivity.messageCountBeforeStorage(int messageCountBeforeStorage) Number of messages before storing.
- 
Method Details- 
messageCountBeforeStorageNumber of messages before storing.Default is 10,000. - Parameters:
- messageCountBeforeStorage-
- Returns:
- the auto-tracking strategy
 
- 
flushIntervalInterval to check and stored the last received offset in case of inactivity.Default is 5 seconds. - Parameters:
- flushInterval-
- Returns:
- the auto-tracking strategy
 
- 
builder
 
-