Building an event sourcing application using Simple Sourcing involves the following steps:
- Define the aggregates the application will use
- Implement the aggregate command and event handlers
- Create the event sourcing streaming application
- Create Simple Sourcing client instances where required
Simple Sourcing is written in Java. Simple Sourcing applications can be implemented in and used from any JVM language.
This example includes helper functions for generic derivation of Serdes for Json serialization using Circe.
A dedicated Scala DSL may be added in the future.
As with Scala, it is easy and natural to use Simple Sourcing from a Kotlin application.
API reference documentation
Javadocs are available here…