Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> why log files are never deleted?


Copy link to this message
-
Re: why log files are never deleted?
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
> >
>