Hi Jim, We currently don't have a tool for that in 0.7/trunk. So you will have to bring the broker down, delete the topic and bring the broker back up. 0.8 provides an admin tool to delete topics.
Joel On Wed, Aug 8, 2012 at 9:03 AM, James A. Robinson <jim.robin...@stanford.edu > wrote: > Hi folks, > > I'm hunting around on the kafka site and haven't managed to figure out > whether or not there are tools to allow one to safely delete the > /tmp/kafka-logs files. Are there tools outside the retention policy? > > I'm running tests on a somewhat limited machine, and I'd like to > figure out a way to cleanly zero everything out after a test run. It > looks as though kafka is keeping a filehandle open for all the logs, > and it looks as though it's keeping track of offsets in zookeeper, so > I figure it isn't safe to simply delete the files! > > Jim > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > James A. Robinson jim.robin...@stanford.edu > Stanford University HighWire Press http://highwire.stanford.edu/ > +1 650 7237294 (Work) +1 650 7259335 (Fax) >