Embeddable SQL EventStore + Aggregate Abstraction written in Go using gorm as an underlying persistence mechanism meaning - it will work
with almost
(tested sqlite and postgres) whatever underlying database gorm will support (just use the respective gorm driver - sqlite and postgres provided).
It is also equiped with a fault-tolerant projection system that can be used to build read models for testing purposes and is also ready for production workloads in combination with Ambar.cloud using the provided ambar package.
- Appending (saving) events to a particular stream
- Reading events from the stream
- Reading all events
- Subscribing (streaming) all events from the event store (real-time - polling)
- Aggregate root abstraction to manage rehydration and event application
- Generic aggregate store implementation used to read and save aggregates (events)
- Fault-tolerant projection system (Projector) which can be used to build read models for testing purposes
- Ambar.cloud data destination (projection) integration for production projection workloads - see example
I provided a simple example that showcases basic usage with sqlite.