You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Harkrishn Patro <ha...@myntra.com> on 2016/06/09 06:16:31 UTC

Kafka Config Changes

Hi,

I am trying to tweak two config params of a kafka topic dynamically
(without restart) i.e. flush.messages,flush.ms to restrict the no. of
writes to disk, as disk seems to be bottleneck in our case. But these
configuration changes are not getting applied to the topic. flush.ms has
been set to 10000ms but it writes to disk at every 5000ms. Any idea why
this config param isn't being picked up by the topic.

Kafka version used - 0.8.1.1
command(s) used -

bin/kafka-topics.sh --zookeeper zkHost:zkPort  --topic topicName --alter
--config flush.messages=200000
bin/kafka-topics.sh --zookeeper zkHost:zkPort  --topic topicName --alter
--config flush.ms=20000
If this is the expected behaviour, how to handle high disk writes?

-- 
Regards,
Harkrishn