Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store commit ID (transaction ID) in metadata #1443

Open
swistak35 opened this issue Nov 5, 2022 · 0 comments
Open

Store commit ID (transaction ID) in metadata #1443

swistak35 opened this issue Nov 5, 2022 · 0 comments

Comments

@swistak35
Copy link
Contributor

If it's available, it can be worth it to store commit ID (or "transaction id") in event's metadata, in order to know which events were published in one transaction, as a whole.

It probably would need some RubyEventStore support, but the core of that feature would be for the Repository to actually provide transaction ID. That can be used alongside for example with building read models or other DB transactions, to see which changes were grouped together.

(note from one of KanDDDinsky talks, I don't remember which one -- I think Dennis Doomen's one, about projections)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant