Blog/

Transactional Outbox Pattern

Lesson overview

Transactional Outbox Pattern

Write the business row and an outbox event in the same database transaction, then a worker publishes pending events to Kafka. That way payment and analytics never miss an order that already committed.

Transactional Outbox Pattern

order service

order created

Payment Service

Problem : how will you know this data is pushed in kafka or not

follow me for more system design concept

Comment 'Link'

outbox worker

Loading Transactional Outbox Pattern