Reputation: 2338
We are working on Confluent Platform and we are still getting to know the internals. But we have implemented generic use cases . We are trying to optimizing our cluster
In my use case, I need to increase the number of partitions of a topic . What is the impact of it ? Can you please share of it
Upvotes: 0
Views: 198
Reputation: 191743
Sure, you can increase partitions.
However,
confluent-rebalancer
, or if not, then kafka-reassign-partitions
CLI tool. So, you'll definitely want to rebalance a topic to "optimize" the cluster. N
, and now had N+1
partitions, then you lose ordering of those messages that solely existed in partition N
. New messages could be spread across new partitions that a new producer calculates with the DefaultPartitioner
. If you don't send keys with messages, then this isn't a problem. Upvotes: 1