This is an automated email from the ASF dual-hosted git repository.
jgus pushed a commit to branch 1.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/1.1 by this push:
new d305027 MINOR: Mention that -1 disables retention by time (#4881)
d305027 is described below
commit d305027e1039540bd0987a044ea6c5ec1d469736
Author: Ismael Juma <ismael@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 <colin@cmccabe.xyz>, Jason Gustafson <jason@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.
|