What problem does it solve?
This skill helps teams convert streams of events into readable, queryable read models by applying projection patterns across event-sourced systems. It provides architecture guidance, patterns for Live, Catchup, Persistent, and Inline projections, and ready-to-use template code to implement projections against common stores.
Core Features & Use Cases
- Live projections: real-time updates of read models from new events.
- Catchup projections: rebuild read models from historical streams.
- Persistent checkpoints: store progress to resume after failures.
- Template code: Python-based projectors and examples for PostgreSQL and Elasticsearch.
- Use Case: Build a materialized view for customer orders that powers dashboards and fast queries.
Quick Start
Create a projection by defining a Projection subclass, register it with a Projector, and run the projection to materialize a read model from your event stream.