by KraftyOne · 4mo ago · 0 comments
What I had landed on was idempotency on a best effort basis and just made the event processing safely retryable without violating any system invariants.
There is much better alternative than this motte-and-bailey argument of "outbox GUARANTEES blah for a distributed system - but only within a single node".
Just write down what happened in Kafka. N followers read from Kafka to find out what happened.
Kafka is actually distributed tech. You can lose nodes and keep operating.
No need to design for atomicity. You either wrote to Kafka or you didn't.