hard20 pts · first answer countsevent-driven-architecturemicroservicestransactions
Saving to DB and publishing an event
An order service saves an order in PostgreSQL and then publishes OrderCreated to Kafka. If the process crashes between the two steps, the event is lost. Which pattern solves this reliably?
Discussion 0
Join free to post in the discussion.
Related questions
- Atomicity in a money transferBackend Developer
- Isolation levels and dirty readsBackend Developer
- Lost update on a wallet balanceBackend Developer
- Deadlocks between two transfersBackend Developer
- Two doctors go off call at onceBackend Developer
- Moving credits between accountsFull Stack Developer
- Write skew under snapshot isolationFull Stack Developer
- Payment call inside a transactionFull Stack Developer