You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by John Stark <jo...@trimble.com> on 2017/03/05 21:30:48 UTC

Auto delete topics with 0 messages?

One of our dev environments has log.retention.hours set to 2 weeks.  With
lots of test topics getting created we have a lot of dead topics with 0
messages.

Is there any cleanup utility or setting that can remove topics with 0
messages or topics that haven't been published/consumed in a long time?  If
there is nothing OOTB, what is the least effort to identify and purge?

Thanks for your help,

-John