I tried log.retention.bytes=1049000 which is about 10MB. But it did not work. Is it because I had not given any value to delete.topic.enable?
Eranga Heshan *Undergraduate* Computer Science & Engineering University of Moratuwa Mobile: +94 71 138 2686 <%2B94%2071%20552%202087> Email: era...@wso2.com <osanda.des...@gmail.com> <https://www.facebook.com/erangaheshan> <https://twitter.com/erangaheshan> <https://www.linkedin.com/in/erangaheshan> On Tue, Nov 22, 2016 at 1:47 PM, Sachin Mittal <sjmit...@gmail.com> wrote: > Check > http://kafka.apache.org/documentation.html#brokerconfigs > log.retention.bytes > log.retention.ms > log.segment.bytes > delete.topic.enable > > > > > On Tue, Nov 22, 2016 at 1:36 PM, Eranga Heshan <eranga....@gmail.com> > wrote: > > > Hi all, > > > > I want to keep the size of kafka-logs reduced as much as possible. To do > it > > I need to set it to delete its unwanted logs frequently. Is there a way > to > > do it? > > > > Thanks, > > Regards, > > > > Eranga Heshan > > *Undergraduate* > > Computer Science & Engineering > > University of Moratuwa > > Mobile: +94 71 138 2686 <%2B94%2071%20552%202087> > > Email: era...@wso2.com <osanda.des...@gmail.com> > > <https://www.facebook.com/erangaheshan> <https://twitter.com/ > > erangaheshan> > > <https://www.linkedin.com/in/erangaheshan> > > >