I’m setting up a sample project with Axon 3.1.3 and Spring Boot 1.5.x to understand how to replace a JGroups based distributed command bus with a Spring Cloud alternative.
Since we’re already using Zookeeper in our project I went for Spring Cloud Zookeeper.
So far I have a working sample with a SimpleCommandBus. When I replace that with the Spring Cloud distributed command bus I get error stating “No node could be found for given command”.
I can confirm all my nodes register in Zookeeper. With some ZK UI I could read all data stored in ZKPath /services//. In debig mode however I noticed the consistentHash inside SpringCloudCommandRouter is always empty.
Am I missing something or using incompatible versions?
My sample applications lives here: https://github.com/bliessens/axon-cloud-discovery-zk