[ 
https://issues.apache.org/jira/browse/KAFKA-8411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16846775#comment-16846775
 ] 

Matthias J. Sax commented on KAFKA-8411:
----------------------------------------

Well. The config is of type long. If you set it to Long.MAX_VALUE, you can 
configure many million years of retention was is effectively forever. This 
should help you to do what you want already. Just to enable your use case 
without this ticket. We can still allow -1, but it won't "change" anything, net 
effect.

> Option to keep tombstones forever in compacted logs 
> ----------------------------------------------------
>
>                 Key: KAFKA-8411
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8411
>             Project: Kafka
>          Issue Type: Improvement
>          Components: log cleaner
>            Reporter: Lukas Welte
>            Priority: Major
>
> Log compaction is great to balance between having all data in a topic and 
> reducing the amount of messages in a topic.
> However the delete tombstones are cleaned after a certain period. For some 
> use cases we would really like to keep the latest message of each key, which 
> means also the tombstone of that ID should be kept forever.
> An option to configure _delete.retention.ms_ to e.g. _-1_ to enable this 
> functionality would be great.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to