appendStream

open override fun appendStream(eventStream: DomainEventStream): Mono<Void>

Appends an event stream to the in-memory storage. Validates version conflicts and duplicate request IDs.

Return

a Mono that completes when the append operation is done

Parameters

eventStream

the domain event stream to append

Throws

if the version conflicts with existing events

if the request ID is already used