Advancedcomparison
What are the implications of increasing the number of partitions of a topic?
Quick answerFree
More partitions allow more consumers in a group to work in parallel and spread load across brokers. But the default partitioner maps keys by hash modulo the partition count, so after the change new records for a key can land in a different partition than old ones, which breaks per-key ordering across the change.
Detailed answer· 86 words
Interview PrepUnlock the full answer with Interview Prep
Get a 86-word model answer, 4 key points and a visual explainer, plus 21 more Apache Kafka questions.
Also in Pro (₹499 / 90 days).
Key points· 4 points
Interview PrepUnlock with Interview Prep
Visual explainer· animated, step by step
Interview PrepUnlock with Interview Prep
+ 21 more Apache Kafka questions in Interview Prep, each with the full answer.