SpinTheMic
Pro

Interview practice question

Retries break ordering

System Design · Messaging and Queues · Experienced

Your consumer retries failed messages by re-publishing them to the end of the topic, but this breaks per-user ordering. How do you redesign retries?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Re-publishing reorders events.
  • Retry in place with backoff for transient errors.
  • Pause the key, not the partition.
  • Retry topics with ordering awareness.
  • DLQ and halt key on permanent failure.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics