I intend to run a clustered Axon application. I read about how the distributed command bus will forward all commands for the same aggregate to the same node in my cluster in order to prevent out-of-order processing and locking issues.
There are a few bit and pieces that are not very clear to me however:
- JGroup Channels have publish/subscribe semantics so how does a given subscriber now which message it should handle or ignore?
- What happens if I add another node to my cluster dynamically: how doesthis affect my RoutingStrategy ? How does Axon spread the commands over N+1 nodes?