Re: (info)kafka truncate data of specific topic

2014-09-16 Thread Guozhang Wang
Hi Jacky, Could you elaborate a bit on your use cases, like why you want to manually truncate logs? Kafka provide a set of configs for data retention based on data size and time (for example maintaining as much as 100 GB or up to 7 days of old data), would that be sufficient to you? Guozhang O

(info)kafka truncate data of specific topic

2014-09-15 Thread Jacky.J.Wang (mis.cnxa01.Newegg) 43048
Hello kafka I truncate data of kafka as follow 1:stop kafka service 2:delete zookeeper /broker/topics/topic and /consumers/group 3:delete kafka log dir 4:restart kafka service 5:recreate topic info but this way need to stop the service,so how truncate kafka topic data with no stopping kafka serv