resend

open override fun resend(aggregateId: AggregateId, headVersion: Int, tailVersion: Int, target: CompensationTarget): Mono<Long>

Resends a range of events from the event store with compensation.

This method loads events from the specified version range for an aggregate and resends them as compensated events.

Return

A Mono containing the count of events that were resent

Parameters

aggregateId

The aggregate ID to resend events for

headVersion

The starting version (inclusive) of events to resend

tailVersion

The ending version (inclusive) of events to resend

target

The compensation target for the resend operation

See also