Skip to content

9.0: Correctly set Correlation and Causation IDs #3887

@skurfuerst

Description

@skurfuerst
  • from 1 Command, multiple Events occur (Create Node with tethered child nodes)
    • Causation id (seems to be already impl.; not yet tested)
  • Publishing of nodes
    • Correlation ID for full publish process for ALL involved events.

Causation ID == "Command ID" (we don't store it, just conceptually)


PROBLEMS / concepts:

  • Publishing (applying events to other stream)
  • Rebase (applying COMMANDS to other stream) - maybe later "applying events to other stream, but they can fail"
  • Node with tethered children (multiple events from one command)

Intuition:

  • Causation ID should not change once set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions