https://github.com/romeh/spring-boot-akka-event-sourcing-starter
A toolkit for spring boot akka persistance event sourcing starter which contains abstracted common logic for aggregate flow definition and cluster sharding plus taking benefit of spring boot echo system
https://github.com/romeh/spring-boot-akka-event-sourcing-starter
akka akka-persistence apache-ignite cqrs cqrs-framework domain-driven-design event-sourcing ignite java springboot springboot2 toolkit
Last synced: over 1 year ago
JSON representation
A toolkit for spring boot akka persistance event sourcing starter which contains abstracted common logic for aggregate flow definition and cluster sharding plus taking benefit of spring boot echo system
- Host: GitHub
- URL: https://github.com/romeh/spring-boot-akka-event-sourcing-starter
- Owner: Romeh
- License: apache-2.0
- Created: 2018-04-18T17:30:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-04T23:34:52.000Z (almost 4 years ago)
- Last Synced: 2025-03-24T13:51:15.327Z (over 1 year ago)
- Topics: akka, akka-persistence, apache-ignite, cqrs, cqrs-framework, domain-driven-design, event-sourcing, ignite, java, springboot, springboot2, toolkit
- Language: Java
- Homepage:
- Size: 420 KB
- Stars: 81
- Watchers: 5
- Forks: 32
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Spring boot akka event sourcing starter 
[](https://app.codacy.com/app/Romeh/spring-boot-akka-event-sourcing-starter?utm_source=github.com&utm_medium=referral&utm_content=Romeh/spring-boot-akka-event-sourcing-starter&utm_campaign=Badge_Grade_Dashboard)


- Spring boot akka persistence event sourcing starter that cover the following :Smooth integration between Akka persistence and Spring Boot 2
- Generic DSL for the aggregate flow definition for commands and events

- Abstract Aggregate persistent entity actor with all common logic in place and which can be used with the concrete managed spring beans implementation of different aggregate entities
- Abstract cluster sharding run-time configuration and access via spring boot custom configuration and a generic entity broker that abstract the cluster shading implementation for you
- Abstracted mixed configuration for your actor system and the entity configuration via spring configuration and akka configuration
For how to use the event sourcing starter toolkit , you need to add the following maven dependency:
Maven dependency
````
io.github.romeh
springboot-akka-event-sourcing-starter
1.0.2
````
For detailed technical details and explanation , check my 4 parts blog posts:
- Part 1:https://mromeh.com/2018/04/27/spring-boot-akka-event-sourcing-starter-part-1/
- Part 2:https://mromeh.com/2018/04/27/spring-boot-akka-event-sourcing-starter-part-2/
- Part 3:https://mromeh.com/2018/04/27/spring-boot-akka-event-sourcing-starter-part-3-the-working-example/
- Part 4:https://mromeh.com/2018/04/27/spring-boot-akka-event-sourcing-starter-part-4-final/
Spring boot , Akka and Ignite used versions:
--------------
Spring boot 2.1.0.RELEASE+, Akka version :2.5.18+ , Ignite Version :2.6.0+