Saving an order then publishing to Kafka are two writes with no shared transaction. A crash in between leaves an order no downstream service hears about; flipping them publishes events for orders that never saved.
← → flip · space next / show answer · S shuffle · esc exit1 / 8