Hi there, It's enabled with the config log.cleaner.enable
Thanks On Wed, Jul 20, 2016 at 5:29 PM, Anderson Goulart < anderson.goul...@boxever.com> wrote: > Hi, > > How can I see if log compaction is enabled? And how can I enable it? I > didn't find it on kafka docs. > > > Thanks, Anderson > > > > On 14/07/2016 13:37, Todd Palino wrote: > >> It's safe to move the partitions of the offsets topic around. You'll move >> the consumer coordinators as you do, however, so the one thing you want to >> make sure of, especially running an older version, is that log compaction >> is working on your brokers and those partitions have been compacted. The >> coordinator needs to bootstrap the topic, and if log compaction is broken >> that can take a very long time. During that time, it will return errors to >> consumers for offset operations, and that can cause offset resets. >> >> -Todd >> >> On Thursday, July 14, 2016, Anderson Goulart < >> anderson.goul...@boxever.com> >> wrote: >> >> Hi, >>> >>> I am running kafka 0.8.2.1 under aws instances with multiple availability >>> zones. As we want a rack aware partition replication, we have our own >>> partition layout distribution, to make sure all partitions are well >>> balanced between nodes, leaders and availability zones. >>> >>> The problem arises with __consumer_offsets internal topic. In our current >>> environment it has 50 partitions and are all under the same AZ, with an >>> unbalanced leader (all wrong!) >>> >>> The question is: should I manually change its partition layout >>> distribution as I do for the other topics? Is it safe to reassign the new >>> layout for this internal topic, using kafka-reassign-partitions.sh? >>> >>> >>> Thanks, Anderson >>> >>> >> >