You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "huxi (JIRA)" <ji...@apache.org> on 2016/12/16 08:18:59 UTC

[jira] [Commented] (KAFKA-4015) Change cleanup.policy config to accept a list of valid policies

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

huxi commented on KAFKA-4015:
-----------------------------

[~damianguy]    I did not find any occurrence in the doc or source code for 'compact_and_delete' policy? Is it really  added into the 0.10.1 codebase?

> Change cleanup.policy config to accept a list of valid policies
> ---------------------------------------------------------------
>
>                 Key: KAFKA-4015
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4015
>             Project: Kafka
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 0.10.1.0
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For: 0.10.1.0
>
>
> There are some use cases where it is desirable to have a topic that supports both compact and delete policies, i.e., any topic that wants to be compacted by key, but also wants keys that haven't been updated for some time to be automatically expired.
> Add a new compact_and_delete option to cleanup.policy. When set, both compact and delete cleanup strategies should run. This change needs to guarantee thread-safety.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)