TTL changes - Are they retroactive?

2014-11-20 Thread Parag Shah
Hi all, I had a question about TTL changes to a topic’s configuration. When I make the change and restart kafka, will kafka apply the changes to all existing messages on disk retroactively or would it do it only for new messages entering the topic? Regards Parag

Re: TTL changes - Are they retroactive?

2014-11-20 Thread Jun Rao
The retention configure change will be applied on existing data too. Thanks, Jun On Thu, Nov 20, 2014 at 10:00 AM, Parag Shah ps...@proofpoint.com wrote: Hi all, I had a question about TTL changes to a topic’s configuration. When I make the change and restart kafka, will kafka apply

Re: TTL changes - Are they retroactive?

2014-11-20 Thread Daniel Compton
Hi Parag Just to expand on Jun’s comment, log retention and deletion is at the segment level, not the message level. Because it’s at the segment level I would avoid using the term TTL, as that would normally be applied to individual items. Every log.retention.check.interval.ms (default 5