Axon 3 & clustering

36 views
Skip to first unread message

Sergei Egorov

unread,
Oct 16, 2017, 12:17:52 PM10/16/17
to Axon Framework Users
Hi!

I saw from slides that starting from Axon 3 "push" model was replaced with "pull". But I still see jgroups/spring cloud everywhere. 

Is it possible to run Axon 3-based app without having to form a cluster? We don't use Sagas, only commands -> events -> queries.


Best Regards,
Sergei

Steven van Beelen

unread,
Oct 17, 2017, 3:59:28 AM10/17/17
to Axon Framework Users
Hi Sergei,

Not knowing which slides you're referencing directly, I think that the difference from push to pull is on the Event Handling side, were as the JGroups/SpringCloud things you reference are specific modules only used when you're distributing the command handling side of your application.
Additionally, it wasn't a requirement in Axon 2 to run an Axon app clustered and that's still the case; that's up to you if you want that.

If you just use the defaults as provided through the 'axon-spring-boot-starter' module, you get a Axon 3 based app with sensible defaults for all the important components.
That should give you an application were you can just use the basic command, event and query components.

Hope this helps!

Cheers,

Steven

--
You received this message because you are subscribed to the Google Groups "Axon Framework Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to axonframewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages