implement-event-sourcing
OfficialBuild robust event-sourced apps with Firefly.
Authorfireflyframework
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Event sourcing captures every state change as an immutable sequence of events, enabling full audit trails, time-travel queries, and reliable projections for Firefly-based services.
Core Features & Use Cases
- AggregateRoot pattern validates business invariants in public commands and emits events via applyChange.
- Reactive EventStore over R2DBC with optimistic concurrency, snapshots, and a transactional outbox for reliable persistence across microservices.
- Snapshots and Projections enable fast reads by replaying events and building read models.
- Event Upcasting & Multi-tenancy evolve event schemas over time while isolating tenants through Reactor context.
- End-to-end workflows for creating, loading, mutating, and projecting aggregates.
Quick Start
Create an AccountLedger-like aggregate, publish creation and update events to the EventStore, and load the aggregate state by replaying its events.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: implement-event-sourcing Download link: https://github.com/fireflyframework/fireflyframework-claude-skills/archive/main.zip#implement-event-sourcing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.