J Oliver EventStore - Saga Examples
I was wondering if there is any documentation/guidance on using Saga's and the EventStore. Part of my co开发者_如何学Pythonnfusion 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?
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.
精彩评论