Protean CQRS Projector
Constructs read-optimized projections and denormalized query views from domain events using the Protean Python framework.
The Protean CQRS Projector skill assists developers in defining specialized event handlers that build and maintain read models within domain-driven architectures. By mapping domain events from aggregates or stream categories to dedicated read projections, it simplifies the implementation of CQRS query sides, cross-aggregate views, and idempotent event processing. This skill is ideal when designing scalable read models, configuring retry and backoff strategies, handling stream subscriptions, or avoiding common pitfalls like handling orphaned events and using incorrect event-binding decorators.
Características Principales
01Generates read-optimized projections mapped via projector_for and @on handlers
02Supports cross-aggregate event consumption and stream category subscriptions
03Provides built-in idempotency markers and transient retry backoff strategies
04Enforces strict CQRS patterns with implicit UnitOfWork transaction boundaries
05Detects common domain errors like PROJECTOR_HANDLES_ORPHANED_EVENT
0646 GitHub stars
Casos de Uso
01Configuring resilient event projectors with retry policies and idempotency guarantees
02Building CQRS read-side query views from multiple domain aggregate streams
03Creating denormalized read models such as catalog summaries or user balance caches