Search code examples
axon

Axon4 - Multi DC active-active support


Problem statement Need to implement active active replication accoross data center for event store. What are the available strategies with Axon framework for both - event store and projection store.


Solution

  • The projection store, thus the query models, are completely in your own hands. Axon doesn't force you to choose any form or type of projection store approach. Hence, "active active replication" is in your hands there.

    Additionally, Axon Framework does not enforce a type of Event Store either, but instead allows you to choose for:

    • Axon Server
    • JPA
    • JDBC
    • Mongo

    If you would choose JPA, JDBC or Mongo, it's again your responsibility to chase replication. Axon Server on the other hand had this backed in. Hence I'd suggest to take a look at that -> https://axoniq.io/