inbox pattern
RU: inbox pattern
A consumer-side deduplication pattern where a service persists an incoming event's unique ID to an inbox table in the same database transaction as the business operation. Before processing, the service checks whether that ID already exists; if it does, the event is skipped. Combined with the outbox pattern it provides at-least-once delivery with idempotent consumption.