0

I'd like to extend this question here: DOMAIN_EVENT_ENTRY table is not created by AXON, I am using Spring Boot v2.6.3 and axon-spring-boot-starter 4.5.8 latest.

I can see that POST, PUT and GET operations through API is working fine, but I don't see anything is getting saved to DB.

My source code link:

enter image description here

Nothing is stored in DB. This is surprising and confusing to understand from where values are actually coming from. What is happening here?

Code: https://github.com/javaHelper/cqrs-and-event-sourcing-axoniq/tree/main/event-sourcing-axon-spring-boot

enter image description here

halfer
  • 19,824
  • 17
  • 99
  • 186
PAA
  • 1
  • 46
  • 174
  • 282
  • The tables in H2 console are Axon internals: - ASSOCIATION_VALUE_ENTRY is used for Sagas - SAGA_ENTRY is also used for sagas - TOKEN_ENTRY is used for Tracking tokens (for projections) I don't see any tables here that can save the data in your example. It's not Axon's job to store this. You should create your own table, use a spring repository and save that to the database yourself. Axon only provides the ES/messaging infrastructure. – Mitchell Herrijgers Mar 01 '22 at 09:03
  • What are you actually expecting to be stored in which database, PAA? Are you missing the events? Or, are you talking about projections/query-models, as Mitchell states? – Steven Mar 01 '22 at 15:17

0 Answers0