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

Grant Henke commented on KAFKA-2583:
------------------------------------

I agree that we should be consistent and even potentially validate the values. 
Right now the value of "dedupe" or "compact" does not actually matter because 
the log handles the configuration with:

   val compact = getString(LogConfig.CleanupPolicyProp).toLowerCase != 
LogConfig.Delete
   
https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/log/LogConfig.scala#L67

> Log compaction documentation incorrect
> --------------------------------------
>
>                 Key: KAFKA-2583
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2583
>             Project: Kafka
>          Issue Type: Bug
>          Components: website
>            Reporter: Ben Nham
>            Priority: Minor
>
> This page claims that log.cleanup.policy can be one of "delete" or "dedupe": 
> https://cwiki.apache.org/confluence/display/KAFKA/Log+Compaction. However, 
> the official docs claims that log.cleanup.policy is one of either "delete" or 
> "compact": http://kafka.apache.org/documentation.html#topic-config. From a 
> quick glance at LogConfig.scala, it looks like the official docs are correct. 
> The wiki should be changed to reflect this as well.
> Additionally, the server does not seem to complain if you set the cleanup 
> policy to dedupe rather than compact.



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

Reply via email to