So far, just an experiment
- Java: 21 or higher
- Maven: 3.6+ (or use the included Maven wrapper
./mvnw) - Kotlin: 2.1.0
- Docker: Required for running tests (integration tests use Testcontainers to automatically spin up PostgreSQL containers)
Before running tests, ensure Docker is running on your machine. Testcontainers will automatically start PostgreSQL containers as needed.
./mvnw test verifyThis will run:
- Unit tests (files ending with
Test.kt) - Integration tests (files ending with
IT.kt)
./mvnw test./mvnw verify./mvnw test -Dtest=AccountTransferScenarioIT- The Aggregate is dead. Long live the Aggregate! - Sara Pellegrini & Milan Savić. - The main motivation for Crablet
- Event Sourcing You are doing it wrong by David Schmitz. - Very good advices. I will try events as plain JSON.
- Json-values: I guess it's a perfect library for using events as plain JSON. Crablet is agnostic about it, but I will try it in Crablet examples. by Rafael Merino
- My previous event sourcing experiment: Crabzilla. I learned a lot but it ended as a framework. Crablet hopefully will be just a library.