SAGA concept and strange behavior 🤔

Hi, I’m Gabor and i’m trying axon framework.
I have some questions about SAGAs.

  1. Saga action compensation: in axon framework are sagas only an event->command coordinator?
    What is the correct way to implement action compensation chain?

  2. Saga strange behavior: i wrote a simple saga event->command that i’ve deployed it and all worked :muscle:. But when i duplicate the instance i’ve noticed that both instances sagas
    triggered on the event causing a doble command execution (bad behavior :scream:).
    Is this a bug or a feauture?
    If it’s a feauture, how can i implement my attended behavior : multiple instances and one saga execution?

THX

Have a look at: https://stackoverflow.com/questions/59694794/multiple-sagas-of-same-type-across-different-jvm-using-axon

How can i do it in axon 4? All online resources that i’ve found are for axon 3.x.

Hi Gabor,

Luckily, Axon 3 and 4 aren’t massively different when it comes to their implementation.
If you need some pointers on how to migrate, this file would be a good starting point to figure out how to finalize the migration.

So, don’t be afraid, just change the version to 4!
Pretty confident you can make it work. :wink:

Cheers,
Steven

PS. It is important to note that this mailing list will be discontinued as specified in this thread.
The thread also specifies where to look further for help when it comes to Axon.