Install
openclaw skills install event-drivenDeep event-driven architecture workflow—events vs commands, ordering and idempotency, sagas, outbox pattern, observability, and failure modes. Use when designing async systems, event buses, or refactoring synchronous chains.
openclaw skills install event-drivenEvent-driven design trades tight coupling for asynchronous workflows—and introduces ordering, duplicates, schema evolution, and distributed tracing challenges.
Trigger conditions:
Initial offer:
Use six stages: (1) identify events, (2) contracts & versioning, (3) delivery semantics, (4) orchestration vs choreography, (5) observability, (6) failure & replay). Assume at-least-once delivery unless proven otherwise.
Goal: Distinguish domain events (facts that happened) from commands (requests). Assign owning bounded context per event type.
Exit condition: Event catalog: name, schema, producers, consumers, SLAs.
Goal: Schema registry or equivalent; backward-compatible evolution; consumers ignore unknown fields; deprecation policy for old versions.
Goal: Partition keys for per-entity ordering; idempotent consumers; dedupe keys when exactly-once illusion is needed.
Goal: Central orchestrator (saga coordinator) vs decentralized choreography—trade visibility vs coupling.
Goal: Correlation ids on events; traces spanning HTTP → broker → consumer; lag and DLQ depth metrics.
Goal: Dead-letter queues, replay tooling, poison message handling, and idempotent replays.