temporalio / features

Behavior and history compatibility testing for Temporal SDKs
13 stars 15 forks source link

[Feature Request] SAGAs #50

Open lorensr opened 2 years ago

lorensr commented 2 years ago

SAGA: https://microservices.io/patterns/data/saga.html

Current state

We have SAGA helpers in:

Discussion excerpts

Related

cc @mnichols

bergundy commented 2 years ago

We pretty much decided we don’t want this in the sdks

bergundy commented 2 years ago

I’d be open to seeing a more concrete proposal, worth thinking about.

cretz commented 2 years ago

Same. @Spikhalskiy has mentioned that even the rudimentary Saga implementation in Java does not have the full, proper feature set.

The three existing implementations are so simple, anyone can just collect activities and run them in parallel and/or cleanup when they are done and/or continue on error. Having a utility called "Saga" that is just a loop seems a bit silly, but if it was a more full-featured implementation it may make sense.