Hi Axon community,
One question. How does Axon decide which event handler to call if multiple applications or instances exist that implements the same event handler?
I’m currently working on a project where two applications shares the same aggregates and event handlers between them.
This is done by having a common maven-module with the aggregates and event handlers. Both applications uses the module
Which application will be handling the event when its fired? Are there risk that both applications picks up the event and the event handling thus happens twice?
And are there any load balancing?
Both applications is connected to the same database where events is stored. It is depending on the event processor? And the version of Axon (we use both Axon 2 and 4 currently).