derivedId

fun derivedId(execution: ExecutionId, target: AggregateRef, commandType: Class<*>, requestId: String? = null, eventIndex: Int? = null): String

The id, and request id, of the command to target of commandType derived by execution: a name-based UUID of the execution, the target (its id, AggregateRef.UNASSIGNED for a creation that leaves it to admission), the command type and what tells it from the execution's others (DerivedRequests), stable across every execution of the same commit by the same subscription, whatever else the handler derives: