Package-level declarations
Types
Link copied to clipboard
class TenantConflictException(val type: AggregateType, val fixed: String, val named: String) : IllegalArgumentException
Link copied to clipboard
Which tenant the aggregates of a type are in (replacing 9.x @StaticTenantId): by default the caller's, or the one a cross-scope caller names, unless fixedTenant fixes one for the type, which then holds whoever the caller is. Every path that gives a command its tenant decides it through tenantOf, the one rule: the gateway and the test DSL (CallerAdmission), a transformer's target, the commands a saga derives, a timer's and those the command topic delivers; the query admission (QueryTargets) decides a read's tenant through it too, and which tenants a caller reaches through reaches: one rule for the write and the read side.