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 Authored: Sun Apr 19 07:56:53 2015 -0700 Committer: Jun Rao 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 implements Producer { /** * A producer is instantiated by providing a set of key-value pairs as configuration. Valid configuration strings - * are documented here. Values can be + * are documented here. 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 implements Producer { /** * 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 here. + * Valid configuration strings are documented here. * 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 implements Producer { /** * A producer is instantiated by providing a set of key-value pairs as configuration. Valid configuration strings - * are documented here. + * are documented here. * @param properties The producer configs */ public KafkaProducer(Properties properties) { @@ -177,7 +177,7 @@ public class KafkaProducer implements Producer { /** * 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 here. + * Valid configuration strings are documented here. * @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 Kafka documentation + * href="http://kafka.apache.org/documentation.html#newproducerconfigs">Kafka documentation */ public class ProducerConfig extends AbstractConfig {