Message systems with at-least-once delivery can redeliver, so handlers must tolerate duplicates. Typical techniques are an idempotency key stored in the database, a unique constraint, or JetStream’s Nats-Msg-Id deduplication on the publishing side.