One use case is implementing a data retention policy.

-Peter


> On May 12, 2016, at 17:11, Guozhang Wang <wangg...@gmail.com> wrote:
> 
> Wesley,
> 
> Could describe your use case a bit more for motivating this? Is your data
> source expiring records and hence you want to auto "delete" the
> corresponding Kafka records as well?
> 
> Guozhang
> 
>> On Thu, May 12, 2016 at 2:35 PM, Wesley Chow <w...@chartbeat.com> wrote:
>> 
>> Right, I’m trying to avoid explicitly managing TTLs. It’s nice being able
>> to just produce keys into Kafka without having an accompanying vacuum
>> consumer.
>> 
>> Wes
>> 
>> 
>>> On May 12, 2016, at 5:15 PM, Benjamin Manns <benma...@gmail.com> wrote:
>>> 
>>> If you send a NULL value to a compacted log, after the retention period
>> it
>>> will be removed. You could run a process that reprocesses the log and
>> sends
>>> a NULL to keys you want to purge based on some custom logic.
>>> 
>>> On Thu, May 12, 2016 at 2:01 PM, Wesley Chow <w...@chartbeat.com> wrote:
>>> 
>>>> Are there any thoughts on supporting TTLs on keys in compacted logs? In
>>>> other words, some way to set on a per-key basis a time to auto-delete.
>>>> 
>>>> Wes
>>> 
>>> 
>>> 
>>> --
>>> Benjamin Manns
>>> benma...@gmail.com
>>> (434) 321-8324
> 
> 
> -- 
> -- Guozhang

Reply via email to