Hi Karan,

The other broker config that plays a role here is 
"log.retention.check.interval.ms".
For a low log retention time like in your example if this broker config 
value is much higher, then the broker doesn't delete old logs regular 
enough.

--Vahid



From:   karan alang <karan.al...@gmail.com>
To:     users@kafka.apache.org
Date:   06/22/2017 12:27 PM
Subject:        Deleting/Purging data from Kafka topics (Kafka 0.10)



Hi All -
How do i go about deleting data from Kafka Topics ? I've Kafka 0.10
installed.

I tried setting the parameter of the topic as shown below ->

$KAFKA10_HOME/bin/kafka-topics.sh --zookeeper localhost:2161 --alter
--topic mmtopic6 --config retention.ms=1000
 I was expecting to have the data purged in about a min or so .. however, 
i
dont see that happening ..
any ideas on what needs to be done ?




Reply via email to