I am studying Axon framework and I found the simple example. https://www.baeldung.com/axon-cqrs-event-sourcing
While I playing around, I saw a very interesting thing when I re-launch the Spring boot app.
Whenever I re-launch the app, it triggers @EventHandler in OrderedProductsEventHandler class.
It loads all events into the Map. Can somebody explain why this happen?