What problem does it solve?
Redis-based real-time systems require reliable event propagation across multiple components (producers, router, and client-facing gateway). This guide provides a structured pattern to build a composite event bus with idempotent processing, fault recovery, and multi-domain support.
Core Features & Use Cases
- Composite Event Bus pattern unifies Producers → Event Router → SSE Gateway using Redis Streams, Pub/Sub, and State KV.
- Idempotent processing and reclaimer mechanisms prevent duplicate processing and ensure recovery after failures.
- Multi-domain support enables independent streams and state management per domain.
- Real-time client streaming through SSE Gateway with Last-Event-ID recovery.
Quick Start
- Deploy the Event Bus by loading this skill and provisioning a Redis instance.
- Start the Event Router and SSE Gateway components and connect them to the same Redis.
- Publish an event from a worker and observe it streamed to clients via SSE.