An event log wrapper that batches EventsourcingProtocol.Write commands.
An event log wrapper that batches EventsourcingProtocol.Write commands. Batched write commands are sent as EventsourcingProtocol.WriteN batch to the wrapped event log.
Batch sizes dynamically increase to a configurable limit under increasing load. The batch size limit can
be configured with eventuate.log.write-batch-size-limit
. If there is no current write operation in
progress, a new Write
command is served immediately (as WriteN
batch of size 1), keeping latency at
a minimum.
Prepares given replicated events
to be written to log identified by logId
using the given nextSequenceNr
generator.
Prepares given emitted events
to be written to log identified by logId
using the given nextSequenceNr
generator.