An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Spring boot akka event sourcing starter ![Twitter Follow](https://img.shields.io/twitter/follow/mromeh.svg?style=social)

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e1167d854e8b40928e4fef24788d31c2)](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)

![Maven Central](https://img.shields.io/nexus/r/https/oss.sonatype.org/io.github.romeh/springboot-akka-event-sourcing-starter.svg?style=flat)

![alt text](images/FlowContext.png)

- 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
![alt text](images/AggregateFlow.png)
- 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+