Open MateuszNaKodach opened 5 years ago
Axon Framework domain event:
{"_id":"5d30d4cda39d0911c0c6fc8b","aggregateIdentifier":"36","type":"CampEditionSchedule","sequenceNumber":"0","serializedPayload":"<org.bialydunajec.campschedule.domain.CampEditionScheduleEvent_-CampEditionSchedulingStarted><campEditionScheduleId><aggregateId>36</aggregateId></campEditionScheduleId><campEditionStartDate>2019-02-20</campEditionStartDate><campEditionEndDate>2019-03-05</campEditionEndDate></org.bialydunajec.campschedule.domain.CampEditionScheduleEvent_-CampEditionSchedulingStarted>","timestamp":"2019-07-18T20:21:33.461Z","payloadType":"org.bialydunajec.campschedule.domain.CampEditionScheduleEvent$CampEditionSchedulingStarted","payloadRevision":null,"serializedMetaData":"<meta-data><entry><string>traceId</string><string>700355fd-fbd1-4347-9cbe-5036e316247c</string></entry><entry><string>correlationId</string><string>700355fd-fbd1-4347-9cbe-5036e316247c</string></entry></meta-data>","eventIdentifier":"b0611d00-6a3e-475c-8ec5-7836759df6fb"}
{"_id":"5d30d4cda39d0911c0c6fc8c","aggregateIdentifier":"37","type":"CampEditionSchedule","sequenceNumber":"0","serializedPayload":"<org.bialydunajec.campschedule.domain.CampEditionScheduleEvent_-CampEditionSchedulingStarted><campEditionScheduleId><aggregateId>37</aggregateId></campEditionScheduleId><campEditionStartDate>2019-07-16</campEditionStartDate><campEditionEndDate>2019-07-20</campEditionEndDate></org.bialydunajec.campschedule.domain.CampEditionScheduleEvent_-CampEditionSchedulingStarted>","timestamp":"2019-07-18T20:21:33.546Z","payloadType":"org.bialydunajec.campschedule.domain.CampEditionScheduleEvent$CampEditionSchedulingStarted","payloadRevision":null,"serializedMetaData":"<meta-data><entry><string>traceId</string><string>61547971-07cf-4e19-aa25-2c035efabbbe</string></entry><entry><string>correlationId</string><string>61547971-07cf-4e19-aa25-2c035efabbbe</string></entry></meta-data>","eventIdentifier":"8af0d922-b01c-4920-a690-c34b6a105e19"}
{"_id":"5d30d4cda39d0911c0c6fc8d","aggregateIdentifier":"36","type":"CampEditionSchedule","sequenceNumber":"1","serializedPayload":"<org.bialydunajec.campschedule.domain.CampEditionScheduleEvent_-CampDayScheduled><campEditionScheduleId><aggregateId>36</aggregateId></campEditionScheduleId><campDayId><entityId>0b318cf3-64da-451e-9259-2b91ff155901</entityId></campDayId><date>2019-02-20</date></org.bialydunajec.campschedule.domain.CampEditionScheduleEvent_-CampDayScheduled>","timestamp":"2019-07-18T20:21:33.660Z","payloadType":"org.bialydunajec.campschedule.domain.CampEditionScheduleEvent$CampDayScheduled","payloadRevision":null,"serializedMetaData":"<meta-data><entry><string>traceId</string><string>dc32ac81-98a3-4866-882a-5179c1e2905b</string></entry><entry><string>correlationId</string><string>dc32ac81-98a3-4866-882a-5179c1e2905b</string></entry></meta-data>","eventIdentifier":"61c393bd-3c4f-4c42-8f4c-a3c0c12c3bfa"}
https://docs.axoniq.io/reference-guide/operations-guide/production-considerations/versioning-events
https://axoniq.io/blog-overview/tracking-event-processors
https://www.baeldung.com/spring-data-mongodb-index-annotations-converter
https://doc.akka.io/docs/akka/current/persistence-schema-evolution.html
Add custom serializer for id: https://www.baeldung.com/jackson-custom-serialization maybe? https://spin.atomicobject.com/2016/07/01/custom-serializer-jackson/
Dodanie projekcji dla causation i correlation: https://blog.arkency.com/correlation-id-and-causation-id-in-evented-systems/
[ ] https://stackoverflow.com/questions/7065045/using-an-rdbms-as-event-sourcing-storage?rq=1
[ ] Building an Event Storage https://cqrs.wordpress.com/documents/building-event-storage/
[ ] https://jeremydmiller.com/2014/10/22/building-an-eventstore-with-user-defined-projections-on-top-of-postgresql-and-node-js/
[ ] http://squirrel.pl/blog/2015/09/22/writing-an-event-sourced-cqrs-read-model/
[ ] https://kalele.io/the-ideal-domain-driven-design-aggregate-store/
[ ] https://stackoverflow.com/questions/7065045/using-an-rdbms-as-event-sourcing-storage/7065225
[ ] https://www.multichain.com/qa/5865/event-sourcing-cqrs
[ ] https://www.schibsted.pl/blog/time-travelling-with-event-sourcing/ GOOD
[ ] https://dzone.com/articles/event-sourcing-the-pains-of-wrongly-designed-aggre
[ ] https://blog.eventsourcing.com/there-is-no-user-acb7d367469f
[ ] https://news.ycombinator.com/item?id=17061019
[ ] https://tech.zilverline.com/2013/01/09/simple-event-sourcing-users-authentication-authorization-part-6
[ ] https://github.com/landonpoch/CQRS-Event-Sourcing
[ ] https://docs.axoniq.io/reference-guide/configuring-infrastructure-components/event-processing/event-bus-and-event-store#event-store
[ ] https://www.gridshore.nl/2012/02/28/a-mongodb-based-axon-framework-event-store/
[ ] https://www.virtual7.de/spring-security-authentication-using-locally-stored-h2-database/