I am writing a sample code to demonstrate the Microservice CQRS and Event sourcing with Axon 4.
Now I have a couple of questions.
If I have 2 domain contexts and they are running on the separate servers. I think Axon server works like command and event hub.
If Axon server is also running on the physically separated server, how my application can communicate to Axson server?
How I can retrieve the current state data(write data) from Axon server and re-apply them to read data side?
For example, DBA just dropped a Order table from the read side, then we need to restore the data from the write side. How can this be achieved?