Domanda

In a case where the steps of a saga relay on local resources (e.g, temp files) from previous steps, is it possible to force those steps to execute on a given consumer (say the one that fired the event which created the saga)?

I can get around this by creating a centralized file store location, but I am just curious if its possible.

È stato utile?

Soluzione

Not really. They aren't really designed with any sort of affinity. It's normally only really a problem if you are load balancing the consumers/sagas though. Is this the case?

Depending on exactly what you're trying to do, there might be some options but we would need a little more detail. The mailing list might be better place to explore this a bit more: https://groups.google.com/group/masstransit-discuss.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top