Michael
Michael

Reputation: 83

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?

Upvotes: 8

Views: 3537

Answers (1)

Jonathan Oliver
Jonathan Oliver

Reputation: 5267

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.

Upvotes: 9

Related Questions