Duplicate processing is not a bug.

It is the default behavior of reliable distributed systems.


Every distributed system eventually faces the same uncomfortable truth:

The moment you introduce:


Retries
Failovers
Message brokers
Network partitions
Service crashes


duplicates become inevitable.

Yet many engineers still believe that...