0

I need to add another consumer to my topic to increase the speed. I have seen the documentation here and can use

bin/kafka-topics.sh --bootstrap-server broker_host:port --alter --topic my_topic_name --partitions 2

but can I do it directly while the messages arrive?

luca
  • 1
  • 1
    Yes, you can do it. However, this could be interesting: [How Kafka guarantee the messages order while we increase the partitions in runtime?](https://stackoverflow.com/questions/64096005/how-kafka-guarantee-the-messages-order-while-we-increase-the-partitions-in-runti/64096753#64096753) – Michael Heil Oct 01 '20 at 10:23
  • There are other ways to increase speed for single partitions like polling rate, by the way – OneCricketeer Oct 01 '20 at 15:56

0 Answers0