That's a topic config you need to set at the broker side:

See config parameter `log.cleaner.*` in
http://kafka.apache.org/documentation/#brokerconfigs


-Matthias

On 3/31/17 11:49 AM, Sachin Mittal wrote:
> Hi,
> I have noticed that many times change log topics don't get compacted. The
> segment log file is always 1 GB.
> 
> So I would like to know how and when compaction comes into play.
> is there a way we can get the topic compacted say trigger compaction after
> x seconds of a given message or a given segment file creation.
> 
> Also what could be the reason for change log topic not getting compacted.
> 
> Thanks
> Sachin
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to