In general, you shouldn't delete any files while the broker is up. If you have no other choices, you can try deleting the older log segments and hope that no consumer or the log cleaner are using them.
Thanks, Jun On Thu, Jan 22, 2015 at 12:40 AM, 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