outbox-pattern

Installation
SKILL.md

Outbox Pattern Implementation

Overview

The Outbox pattern ensures reliable event processing:

  • Atomic persistence - Events saved in same transaction as aggregate
  • Guaranteed delivery - Events processed even if app crashes
  • Eventual consistency - Async processing with retry
  • Idempotency - Handle duplicate processing gracefully

Quick Reference

Component Purpose
OutboxMessage Persisted event entity
OutboxMessageConfiguration EF Core mapping
ProcessOutboxMessagesJob Background processor (Quartz)
IdempotentDomainEventHandler Deduplicated handler wrapper
Related skills
Installs
10
GitHub Stars
52
First Seen
Mar 1, 2026