Ecotone Event Sourcing
Implements robust event sourcing patterns, projections, and event versioning within the Ecotone framework.
This skill provides specialized guidance for implementing Event Sourcing in PHP using the Ecotone framework. It enables developers to build event-sourced aggregates, create high-performance projections with partitioning and streaming, manage event stores, and handle schema evolution through versioning and upcasting. By shifting from state-based to event-based persistence, it helps maintain a complete audit trail and scale complex domain logic with ease while ensuring consistency across distributed systems.
主な機能
01Partitioned projections for efficient per-aggregate instance tracking
02Native Event Store API for stream management, appending, and replaying events
03Advanced ProjectionV2 supporting synchronous, polling, and streaming modes
04Event versioning and upcasting for seamless schema evolution
05Event-sourced aggregates with automatic state reconstruction
0652 GitHub stars
ユースケース
01Implementing comprehensive audit logs and historical state tracking for domain entities
02Managing complex event schema changes in production without data loss
03Building highly scalable read models from event streams using projections