Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

J Oliver EventStore - Saga Examples

I was wondering if there is any documentation/guidance on using Saga's and the EventStore. Part of my confusion is that when you look at using a Service Bus like NServiceBus or MassTransit the too have the concept of a Saga. I know the EventStore itself does not have the Saga in the code but the CommonDomain project does and they work together. Do I use the Saga infrastructure in the CommonDomain/EventStore or rely on ServiceBus Saga support? Or could both be used together?

like image 622
Michael Avatar asked Jul 27 '11 21:07

Michael


1 Answers

Your best bet for a saga example is on my blog: Part I and Part II

You're more than welcome to use MassTransit or NServiceBus for sagas. I have a simple implementation using CommonDomain because I was trying to avoid a dependency on those frameworks and because I wanted to leverage event sourcing to facilitate sagas.

like image 100
Jonathan Oliver Avatar answered Nov 16 '22 08:11

Jonathan Oliver