SpinTheMic
Pro

Interview practice question

Increasing partitions on a busy keyed topic

Data Engineering · Kafka Streaming · Intermediate

A keyed topic needs more partitions for throughput, but consumers rely on per-key ordering. How do you do it safely?

What a strong answer covers

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

  • Adding partitions changes key-to-partition mapping.
  • Old events stay in old partitions; new events may go elsewhere.
  • Option: create a new topic with more partitions and migrate.
  • Drain consumers before switching.
  • Plan partition counts generously upfront.
Practise this topic

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

See all topics