That's a good point. It doesn't look like there's any special handling for the offsets topic, so enabling the cleaner by default makes sense to me. If compaction is not enabled, it would grow without bound, so I wonder if we should even deprecate that setting. Are there any use cases where it needs to be disabled?
-Jason On Mon, Dec 14, 2015 at 11:31 AM, Gwen Shapira <g...@confluent.io> wrote: > This makes sense to me. Copycat also works better if topics are compacted. > > Just to clarify: > log.cleaner.enable = true just makes the compaction thread run, but doesn't > force compaction on any specific topic. You still need to set > delete.policy=compact, and we should not change defaults here. > > On Mon, Dec 14, 2015 at 10:32 AM, Grant Henke <ghe...@cloudera.com> wrote: > > > Since 0.9.0 the internal "__consumer_offsets" topic is being used more > > heavily. Because this is a compacted topic does "log.cleaner.enable" need > > to be "true" in order for it to be compacted? Or is there special > handling > > for internal topics? > > > > If log.cleaner.enable=true is required, should we make it true by > default? > > Or document that is required for normal operation? > > > > Thanks, > > Grant > > -- > > Grant Henke > > Software Engineer | Cloudera > > gr...@cloudera.com | twitter.com/gchenke | linkedin.com/in/granthenke > > >