microservice-patterns-outbox-and-cdc
Installation
SKILL.md
Microservice Patterns Outbox And CDC
Use When
- Service writes to database and emits events
- Event delivery reliability is critical for downstream systems
Workflow
- Store domain event in outbox table in same transaction as data change.
- Relay outbox entries through CDC or polling worker.
- Publish to broker with ordering and partition strategy.
- Track delivery state and retries with poison-message handling.
- Add replay and reconciliation jobs for missed events.