cadence-workflow / cadence-java-samples

Other
97 stars 60 forks source link

Distributed samples #27

Closed JuanPalacios closed 8 months ago

JuanPalacios commented 5 years ago

Hello,

It would be nice to have distributed examples with java because it is the normal case in production environment, with loose coupling between workers activities, workers workflows, starters and the cadence service. One basic example that demontrate this capability should be nice. Currently all the samples are running in the same main method so it is not clear how to distribute the cadence components.

Thanks

SriMouli commented 4 years ago

+1

ibarrajo commented 8 months ago

Hi, we have an example of a trip booking saga. The saga pattern is a well known distributed computing architecture.

You can find the cadence example here: https://github.com/uber/cadence-java-samples/tree/master/src/main/java/com/uber/cadence/samples/bookingsaga