CommittedRequests
The streams already committed for a request, and the claims of creations not committed yet: what admission reads before it gives a creation command without an id one. None of its members has a default and it is no fun interface, so that a lambda cannot stand for it: one that looked requests up and kept its claims to itself left the node's own gateway drawing a new id for every attempt (#6518). Build one with of.
Functions
Link copied to clipboard
abstract suspend fun claim(type: AggregateType, tenantId: String, requestId: String, claim: CreationClaim): CreationClaim
The claim of the aggregate the creation of requestId targets: claim when the request has none, else its first (EventLog.claimCreation).
Link copied to clipboard
abstract suspend fun find(type: AggregateType, tenantId: String, requestId: String): EventStreamRecord?
Link copied to clipboard
The partitions of the log of type: 1 for a type without one.