Skip to content

Replay only a few event in a stream (cancel effect of some events) #1211

Answered by Tyflomate
Tyflomate asked this question in Q&A
Discussion options

You must be logged in to vote

I don't really understand what do you mean by that, do you mean to create an event in the aggregate that cancel the event ? Like to cancel the event of adding points we create an event that removes points ?

Exactly :) See above.

Well it is an option but it would be inconvenient. We do not have only emit points as a cancelable event and we chose rails event store especially for this feature: to be able to replay events in prospection of this cancelation feature, we actually thought about your solution but it is a plan B because it will require much more time and some events are tricky to revert.

I could not reproduce this - so without test case (or sample code to run) will be hard t…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@Tyflomate
Comment options

@mpraglowski
Comment options

Comment options

You must be logged in to vote
1 reply
@Tyflomate
Comment options

Answer selected by Tyflomate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1207 on September 30, 2021 08:48.