Skip to content

Replay/duplicate protection via eventId #198

Description

@codebestia

Track recently-seen eventIds per device (Redis set with TTL) and drop replays. Combined with client-generated messageId idempotency, this prevents duplicate persistence and delivery when clients retry on flaky networks.

Acceptance criteria:

  • Re-sent eventId within the window is ignored
  • Legitimate distinct events always processed
  • Window TTL configurable

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions