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

This commit is contained in:
Manikumar Reddy 2015-04-19 07:56:53 -07:00 committed by Jun Rao
parent 7c5b2405d8
commit 761711ecaf
2 changed files with 5 additions and 5 deletions

View File

@ -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.

View File

@ -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 {