kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From István <lecc...@gmail.com>
Subject Dynamic partitioning
Date Fri, 12 Sep 2014 15:33:39 GMT
Hi all,

My understanding is that with 0.8.1.x you can manually change the number of
partitions on the broker, and this change is going to be picked up by the
producers and consumers (high level).

kafka-topics.sh --alter --zookeeper zk.net:2181/stream --topic test
--partitions 3

Is that the case?

Is there a way to adjust the number of partitions based on the load? This
might not be the best way of scaling up and down (auto-scaling) Kafka, so
if there is a better way I would like to know how.

Thank you in advance,
Istvan


-- 
the sun shines for all

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message