Skip to content

[DEV-1270] Support atomic cross-stream consistency validation when appending events#382

Merged
w1am merged 1 commit intotrunkfrom
w1am/append-records
Mar 17, 2026
Merged

[DEV-1270] Support atomic cross-stream consistency validation when appending events#382
w1am merged 1 commit intotrunkfrom
w1am/append-records

Conversation

@w1am
Copy link
Contributor

@w1am w1am commented Mar 17, 2026

Adds the appendRecords operation, which allows appending events to one or more streams in a single atomic transaction similar to multiStreamAppend, but with two key differences:

  • Interleaved ordering: Records from different streams can be mixed freely, and their exact order is preserved in the global log.
  • Decoupled consistency checks: You can validate the state of any stream before the transaction commits, even streams you're not writing to. This makes it possible to enforce business rules that span multiple streams in a single round-trip.

@w1am w1am force-pushed the w1am/append-records branch from 483805c to 43428de Compare March 17, 2026 10:39
@w1am w1am changed the title Support atomic cross-stream consistency validation when appending events [DEV-1270] Support atomic cross-stream consistency validation when appending events Mar 17, 2026
@linear
Copy link

linear bot commented Mar 17, 2026

@w1am w1am merged commit 0320714 into trunk Mar 17, 2026
108 of 113 checks passed
@w1am w1am deleted the w1am/append-records branch March 17, 2026 12:12
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@w1am 👉 Created pull request targeting release/v1.2: #383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant