Interview practice question
One partition much busier than others
Data Engineering · Kafka Streaming · Intermediate
One partition of a topic receives far more traffic than the rest, and its consumer lags. How do you fix it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- A hot key (e.g., a big customer) maps to one partition.
- Analyze key distribution.
- Use a better key or add a salt/suffix for hot keys.
- Weigh ordering requirements.
- Process hot key separately if needed.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.