kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gwens...@apache.org
Subject kafka git commit: MINOR: Clarification in producer config documentation
Date Fri, 19 Aug 2016 03:40:02 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 59cfa8480 -> c6e6fadee


MINOR: Clarification in producer config documentation

Author: Vahid Hashemian <vahidhashemian@us.ibm.com>

Reviewers: Dana Powers, Gwen Shapira

Closes #1732 from vahidhashemian/minor/clarify_producer_config_documentation


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/c6e6fade
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/c6e6fade
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/c6e6fade

Branch: refs/heads/trunk
Commit: c6e6fadeed3e060da34b0fc7ec4c8540f8dffa90
Parents: 59cfa84
Author: Vahid Hashemian <vahidhashemian@us.ibm.com>
Authored: Thu Aug 18 20:39:57 2016 -0700
Committer: Gwen Shapira <cshapi@gmail.com>
Committed: Thu Aug 18 20:39:57 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/kafka/clients/producer/ProducerConfig.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/c6e6fade/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java b/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
index 3293aab..dbbde06 100644
--- a/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
+++ b/clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java
@@ -51,8 +51,9 @@ public class ProducerConfig extends AbstractConfig {
      */
     @Deprecated
     public static final String METADATA_FETCH_TIMEOUT_CONFIG = "metadata.fetch.timeout.ms";
-    private static final String METADATA_FETCH_TIMEOUT_DOC = "The first time data is sent
to a topic we must fetch metadata about that topic to know which servers host the topic's
partitions. This "
-                                                             + "fetch to succeed before throwing
an exception back to the client.";
+    private static final String METADATA_FETCH_TIMEOUT_DOC = "The first time data is sent
to a topic we must fetch metadata about that topic to know which servers "
+                                                             + "host the topic's partitions.
This config specifies the maximum time, in milliseconds, for this fetch "
+                                                             + "to succeed before throwing
an exception back to the client.";
 
     /** <code>metadata.max.age.ms</code> */
     public static final String METADATA_MAX_AGE_CONFIG = CommonClientConfigs.METADATA_MAX_AGE_CONFIG;


Mime
View raw message