Causation

data class Causation(val correlationId: String, val causationId: String)

Where a command comes from (documentation/designs/08-data-protocols.md §4): correlationId is the id of the root command of the chain, and causationId the direct upstream, such as the event stream (ref@version) a saga reacted to. A command a user sends directly carries none: it is its own root.

Constructors

Link copied to clipboard
constructor(correlationId: String, causationId: String)

Properties

Link copied to clipboard
Link copied to clipboard