SpinTheMic
Pro

Interview practice question

Kafka lag keeps growing

System Design · Messaging and Queues · Intermediate

Your Kafka consumer lag has grown steadily for hours. How do you diagnose and fix it?

What a strong answer covers

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

  • Compare produce vs consume rate.
  • Check per-partition lag (hot partition?).
  • Profile consumer processing.
  • Add consumers up to partition count.
  • Increase partitions or batch work.
Practise this topic

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

See all topics