Options
Why
Either two-step order leaves a gap: a crash between the steps loses one side. The outbox makes both one database transaction; the relay (polling or CDC) publishes at least once, so consumers must deduplicate.
Consistency · Multiple choice
Either two-step order leaves a gap: a crash between the steps loses one side. The outbox makes both one database transaction; the relay (polling or CDC) publishes at least once, so consumers must deduplicate.