CommittedEvent

data class CommittedEvent<out EVENT>(val eventId: Uuid, val aggregateType: String, val aggregateId: String, val version: Long, val commandId: CommandId, val correlationId: CorrelationId?, val causedBy: EventReference?, val occurredAt: Instant, val preparedAt: Instant, val event: EVENT) : HasAggregateVersion(source)

A canonical event committed to an aggregate stream. version is local to that aggregate; subscription checkpoints provide the global or physical resume position.

Constructors

Link copied to clipboard
constructor(eventId: Uuid, aggregateType: String, aggregateId: String, version: Long, commandId: CommandId, correlationId: CorrelationId?, causedBy: EventReference?, occurredAt: Instant, preparedAt: Instant, event: EVENT)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val version: Long

Functions

Link copied to clipboard