You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by jg...@apache.org on 2018/04/16 16:53:13 UTC

[kafka] branch trunk updated: MINOR: Mention that -1 disables retention by time (#4881)

This is an automated email from the ASF dual-hosted git repository.

jgus pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new f3ed56b  MINOR: Mention that -1 disables retention by time (#4881)
f3ed56b is described below

commit f3ed56b21f6ac1e47337983b46aca1af88337e9e
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Mon Apr 16 09:53:08 2018 -0700

    MINOR: Mention that -1 disables retention by time (#4881)
    
    Reviewers: Colin Patrick McCabe <co...@cmccabe.xyz>, Jason Gustafson <ja...@confluent.io>
---
 clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java b/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
index 168dd25..d6b7003 100755
--- a/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
+++ b/clients/src/main/java/org/apache/kafka/common/config/TopicConfig.java
@@ -73,7 +73,7 @@ public class TopicConfig {
     public static final String RETENTION_MS_DOC = "This configuration controls the maximum time we will retain a " +
         "log before we will discard old log segments to free up space if we are using the " +
         "\"delete\" retention policy. This represents an SLA on how soon consumers must read " +
-        "their data.";
+        "their data. If set to -1, no time limit is applied.";
 
     public static final String MAX_MESSAGE_BYTES_CONFIG = "max.message.bytes";
     public static final String MAX_MESSAGE_BYTES_DOC = "<p>The largest record batch size allowed by Kafka. If this " +

-- 
To stop receiving notification emails like this one, please contact
jgus@apache.org.