Dual Writes Are Lies: The Transactional Outbox Pattern in Spring Boot + Kafka
It’s 3 AM. A customer paid, the orders row is in your database, and the OrderCreated event never reached Kafka. The warehouse never shipped. The email never sent. Somewhere in your service there is code that looks like this: @Transactional public Order placeOrder(PlaceOrder …


