12.21Event deduplication
Message:
{
"eventId": "EVT-827",
"customerId": "C001",
"status": "ACTIVE"
}
Consumer receives it twice.
Possible approach:
processed event IDs:
EVT-827
When second arrives:
already processed
→ acknowledge and skip
This is common in at-least-once messaging architectures.