flushEveryEvents property
How many handled messages may pass between cursor writes.
The full-network firehose runs at hundreds to thousands of events per second, so writing the cursor per message would put the store on the hot path. Batching bounds the write rate, and the price is bounded too: at most this many messages are replayed after a crash.
Implementation
final int flushEveryEvents;