Kafka in practice (2): dual writes, exactly-once and message ordering
Three correctness problems with Kafka: the dual write between a database and Kafka (why emitting first or wrapping in a DB transaction both fail, the transactional outbox with Debezium), exactly-once for Kafka-to-Kafka flows and for flows that write to a database, and keeping message order from producer to consumer.