mirror of https://github.com/apache/kafka.git
MINOR: Fix broken documentation link
The link to 'Producer Configs' section of the documentation is updated with this PR. Author: vahidhashemian <vahidhashemian@us.ibm.com> Author: Vahid Hashemian <vahidhashemian@us.ibm.com> Reviewers: Gwen Shapira Closes #692 from vahidhashemian/typo03/fix_broken_doc_link
This commit is contained in:
parent
587a2f4efd
commit
a2a417caf9
|
@ -146,7 +146,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#newproducerconfigs">here</a>. Values can be
|
||||
* are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">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
|
||||
|
@ -158,7 +158,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#newproducerconfigs">here</a>.
|
||||
* Valid configuration strings are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">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
|
||||
|
@ -174,7 +174,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#newproducerconfigs">here</a>.
|
||||
* are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">here</a>.
|
||||
* @param properties The producer configs
|
||||
*/
|
||||
public KafkaProducer(Properties properties) {
|
||||
|
@ -183,7 +183,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#newproducerconfigs">here</a>.
|
||||
* Valid configuration strings are documented <a href="http://kafka.apache.org/documentation.html#producerconfigs">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.
|
||||
|
|
|
@ -30,7 +30,7 @@ import static org.apache.kafka.common.config.ConfigDef.ValidString.in;
|
|||
|
||||
/**
|
||||
* Configuration for the Kafka Producer. Documentation for these configurations can be found in the <a
|
||||
* href="http://kafka.apache.org/documentation.html#newproducerconfigs">Kafka documentation</a>
|
||||
* href="http://kafka.apache.org/documentation.html#producerconfigs">Kafka documentation</a>
|
||||
*/
|
||||
public class ProducerConfig extends AbstractConfig {
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ The client controls which partition it publishes messages to. This can be done a
|
|||
<p>
|
||||
Batching is one of the big drivers of efficiency, and to enable batching the Kafka producer will attempt to accumulate data in memory and to send out larger batches in a single request. The batching can be configured to accumulate no more than a fixed number of messages and to wait no longer than some fixed latency bound (say 64k or 10 ms). This allows the accumulation of more bytes to send, and few larger I/O operations on the servers. This buffering is configurable and gives a mechanism to trade off a small amount of additional latency for better throughput.
|
||||
<p>
|
||||
Details on <a href="#newproducerconfigs">configuration</a> and <a href="http://kafka.apache.org/082/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html">api</a> for the producer can be found elsewhere in the documentation.
|
||||
Details on <a href="#producerconfigs">configuration</a> and <a href="http://kafka.apache.org/082/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html">api</a> for the producer can be found elsewhere in the documentation.
|
||||
|
||||
<h3><a id="theconsumer" href="#theconsumer">4.5 The Consumer</a></h3>
|
||||
|
||||
|
|
Loading…
Reference in New Issue