What kind of “EventBus” to use in Spring? Built-in, Reactor, Akka?

I’m not sure I can adequately answer your question in this small space. But I’ll give it a shot! 🙂 Spring’s ApplicationEvent system and Reactor are really quite distinct as far as functionality goes. ApplicationEvent routing is based on the type handled by the ApplicationListener. Anything more complicated than that and you’ll have to implement … Read more

Why are commands and events separately represented?

Commands can be rejected. Events have happened. This is probably the most important reason. In an event-driven architecture, there can be no question that an event raised represents something that has happened. Now, because Commands are something we want to happen, and Events are something that has happened, we should be using different verbs when … Read more