That’s troublesome to hear and not the experience I’m having at a client right now.
Did you specify a
RoutingStrategy in your application at all? This shouldn’t be necessary in a Spring environment though, as Axon will provide a sensible default, but asking this for verification.
The RoutingStrategy, which defaults to the
AnnotationRoutingStrategy based on the
@TargetAggregateIdentifier field in your commands.
You point out that ‘Debugging shows that all nodes have same version of ConsistentHash with command filter for all commands.’.
Does this mean that in for example a 2 node set up, both nodes have an identical ConsistentHash?
This on it’s own isn’t faulty, as both nodes should end up with the same ConsistentHash as soon as both applications are started up (and no dynamic removal/addition of command handlers is taking place).
If the ConsistentHash however only shows the local node and no others, then there definitely is something wrong.
Could you provide a more thorough description of what the ConsistentHashes contain?
Based on that I think we can figure out what’s happening.