rails_event_store icon indicating copy to clipboard operation
rails_event_store copied to clipboard

Store commit ID (transaction ID) in metadata

Open swistak35 opened this issue 3 years ago • 0 comments

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)

swistak35 avatar Nov 05 '22 14:11 swistak35