Closed AlexandreRoba closed 8 years ago
HI Alexandre!
The revisionGuard is an optional part. (my invention)
If you need your events to be handled in order and your system(messaging layer) does not guarantee it and you have a revision number on your events (incremental number for the event stream) the revisionGuard ensures the ordered handling of the events.
for example if the received events are:
the revisionGuard will handle it that way:
and if there is a some missing events (i.e. if evt1 is never received) after a configurable timeout and EventMissing will be fired => https://github.com/adrai/node-cqrs-eventdenormalizer#wire-up-event-missing-optional
Hi adrai, great, thanks for the clarification.
Hi there, first thanks for all this open sourced cqrs component. They are of great value. I was wondering if you could point me to some documentation that describes what is the revisionGuard used for? I'm familiar with CQRS and I have followed Greg young intensive CQRS weekend seminar but I do not record having heard of the revision guard :( thanks for any help. Alex.