kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject kafka git commit: kafka-2131; Update new producer javadocs with correct documentation links; patched by Manikumar Reddy; reviewed by Jun Rao
Date Sun, 19 Apr 2015 14:56:57 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 7c5b2405d -> 761711eca


kafka-2131; Update new producer javadocs with correct documentation links; patched by Manikumar
Reddy; reviewed by Jun Rao


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

Branch: refs/heads/trunk
Commit: 761711ecaf9ce8a876defdcaf6802c1e048edc3d
Parents: 7c5b240
Author: Manikumar Reddy <manikumar.reddy@gmail.com>
Authored: Sun Apr 19 07:56:53 2015 -0700
Committer: Jun Rao <junrao@gmail.com>
Committed: Sun Apr 19 07:56:53 2015 -0700

----------------------------------------------------------------------
 .../org/apache/kafka/clients/producer/KafkaProducer.java     | 8 ++++----
 .../org/apache/kafka/clients/producer/ProducerConfig.java    | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/761711ec/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java
----------------------------------------------------------------------
diff --git a/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java b/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java
index b91e2c5..b70e1a3 100644
--- a/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java
+++ b/clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java
@@ -140,7 +140,7 @@ public class KafkaProducer<K, V> implements Producer<K, V>
{
 
     /**
      * A producer is instantiated by providing a set of key-value pairs as configuration.
Valid configuration strings
-     * are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">here</a>.
Values can be
+     * are documented <a href="http://kafka.apache.org/documentation.html#newproducerconfigs">here</a>.
Values can be
      * either strings or Objects of the appropriate type (for example a numeric configuration
would accept either the
      * string "42" or the integer 42).
      * @param configs   The producer configs
@@ -152,7 +152,7 @@ public class KafkaProducer<K, V> implements Producer<K, V>
{
 
     /**
      * A producer is instantiated by providing a set of key-value pairs as configuration,
a key and a value {@link Serializer}.
-     * Valid configuration strings are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">here</a>.
+     * Valid configuration strings are documented <a href="http://kafka.apache.org/documentation.html#newproducerconfigs">here</a>.
      * Values can be either strings or Objects of the appropriate type (for example a numeric
configuration would accept
      * either the string "42" or the integer 42).
      * @param configs   The producer configs
@@ -168,7 +168,7 @@ public class KafkaProducer<K, V> implements Producer<K, V>
{
 
     /**
      * A producer is instantiated by providing a set of key-value pairs as configuration.
Valid configuration strings
-     * are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">here</a>.
+     * are documented <a href="http://kafka.apache.org/documentation.html#newproducerconfigs">here</a>.
      * @param properties   The producer configs
      */
     public KafkaProducer(Properties properties) {
@@ -177,7 +177,7 @@ public class KafkaProducer<K, V> implements Producer<K, V>
{
 
     /**
      * A producer is instantiated by providing a set of key-value pairs as configuration,
a key and a value {@link Serializer}.
-     * Valid configuration strings are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">here</a>.
+     * Valid configuration strings are documented <a href="http://kafka.apache.org/documentation.html#newproducerconfigs">here</a>.
      * @param properties   The producer configs
      * @param keySerializer  The serializer for key that implements {@link Serializer}. The
configure() method won't be
      *                       called in the producer when the serializer is passed in directly.

http://git-wip-us.apache.org/repos/asf/kafka/blob/761711ec/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 ca1c7fe..5a57555 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
@@ -29,7 +29,7 @@ import org.apache.kafka.common.serialization.Serializer;
 
 /**
  * Configuration for the Kafka Producer. Documentation for these configurations can be found
in the <a
- * href="http://kafka.apache.org/documentation.html#new-producer">Kafka documentation</a>
+ * href="http://kafka.apache.org/documentation.html#newproducerconfigs">Kafka documentation</a>
  */
 public class ProducerConfig extends AbstractConfig {
 


Mime
View raw message