What code is generated in Spine
There are following code parts that are created during the build process:
- Java classes
- gRPC service implementations and stubs
- Mapping from Proto types to Java classes
- Command Validators
- Business Failures
Event Sourcing in Akka Persistence
The key concept behind Akka persistence is that only changes to an actor’s internal state are persisted but never its current state directly (except for optional snapshots).
This technology is mentioned in “Richer Data History with Event Sourcing” talk.
For further reading you can check Akka documentation.