YuanJia, I want to know why your broker's disk is almost full . Maybe your issue is the same with mine. Is it one broker out of service for a long time, then it fails back, at first it looks good, but after some hours, its disk is almost full. Other brokers are all fine, avg remaining capacity is about 25%. In my production environment, log.retention.hours is 24, broker's data volume is about 2TB. The reason it that when broker decide to delete logs is based on its start time and log.retention.hours.
On Thu, Jan 22, 2015 at 4:40 PM, YuanJia Li <yuanjia8...@163.com> wrote: > Hi all, > The kafka broker's disk is almost full, and the log file is still opened > by kafka through lsof command. > I know to change log.retention.hours in server.properties, but I don't > want to restart the kafka server. > Is there any utility to delete log file without impacting kafka? > > Thanks & Regards > YuanJia Li