Log retention only kicks in on old log segments. The last (active) log segment will never be deleted. Do you have new log segments rolled? Segment rolling can also be controlled by size or time.
Thanks, Jun On Fri, Dec 13, 2013 at 3:01 AM, shahab <shahab.mok...@gmail.com> wrote: > Thanks Jun, > I already set the retention policy to 1 hour, and size 20 10 M but it > didn't work, still logs are piled at "logs/" folder. Maybe I am missing > something . > > best, > /Shahab > > > On Thu, Dec 12, 2013 at 4:57 PM, Jun Rao <jun...@gmail.com> wrote: > > > Log deletion is controlled a retention policy, which can be either by > time > > or by size. Currently, there is no purge support yet. > > > > Thanks, > > > > Jun > > > > > > On Thu, Dec 12, 2013 at 12:55 AM, shahab <shahab.mok...@gmail.com> > wrote: > > > > > Hi > > > > > > I just wonder why the log files, in {kafka_path}/log , are not deleted > > > automatically? > > > Is there any way to purge those files? > > > > > > Also is there anyway to purge the Kafka queue (make it empty) without > > > having to consuming or knowing the last fetched offset? > > > > > > best, > > > /Shahab > > > > > >