Distributed Transactions & Sagas

Transactional outbox

After inserting an order in SQL, you must publish `OrderCreated` to Kafka for fulfillment. The API sometimes crashes after commit but before publish. Design the outbox pattern and relay.

Advanced drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson