EventBridge sending duplicate events — deduplication strategy

We’ve noticed EventBridge firing duplicate events for the same interaction. The event-id in the payload matches, but the timestamp differs by milliseconds. I’ve tried filtering on the client side, but it’s causing race conditions.

Is there a recommended deduplication strategy in the SDK or should I handle this via a Lambda function? Here’s a sample payload:

{
 "event-id": "evt-123",
 "timestamp": "2023-10-01T12:00:00Z"
}