Make sure that you have *log.cleaner.enable* set to *true* (it is false by default). Check this KAFKA-2988 <https://issues.apache.org/jira/browse/KAFKA-2988> out for details.
On Thu, Dec 31, 2015 at 11:13 AM, Guozhang Wang <wangg...@gmail.com> wrote: > There is a special config for that topic named "offsets.retention.minutes" > besides the "log.retention.hours", and similarly a different > "offsets.topic.segment.bytes" for that topic as well. Could you check what > are the values? > > Note that only old log segments will be considered for deletion so if your > __consumer_offsets topic only have one segment file, it will not be > deleted. > > Guozhang > > > On Wed, Dec 30, 2015 at 4:30 AM, Madhukar Bharti <bhartimadhu...@gmail.com > > > wrote: > > > Dear Team, > > > > We are using Kafka-0.8.2.1 and having log.retention.hours=168 but files > of > > __consumer_offsets are not getting deleted, due to this lots of disc > spaces > > are used. > > > > Please help how to delete file of offset storage topic after specified > > time. > > > > > > Thanks and Regards, > > Madhukar > > > > > > -- > -- Guozhang >