Dual-write problem
Updating two systems (here MySQL and Kafka) as if they were one: no transaction spans both, so a crash between the writes leaves one changed and the other not, whichever order you pick.
Learn this concept
Lesson 3.14 · Transactional outbox writesUsed in exercises
Exercise 3.15 · Outbox relay to order-eventsRelatedTransactional outbox