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
- What atomicity guaranteesBackend Developer
- Isolation levels and dirty readsBackend Developer
- What a dirty read isBackend Developer
- The same row read twice gives two valuesBackend Developer
- PostgreSQL's default isolation levelBackend Developer
- MySQL InnoDB's default isolation levelBackend Developer
- FOR UPDATE that locks nothing usefulBackend Developer