Repository: kafka Updated Branches: refs/heads/1.0 9dbb07c2e -> a1a32c1d3
MINOR: Correct KafkaProducer Javadoc spelling of property 'max.in.flight.requests.per.connection' Currently, in branches _trunk_, _0.11.0_, and _1.0_ the property **max.in.flight.requests.per.connection** is incorrectly misspelled as _max.inflight.requests.per.connection_ harshach ijuma guozhangwang can you please review. Thank you. Author: Hugo Louro <hmclo...@gmail.com> Reviewers: Ismael Juma <ism...@juma.me.uk> Closes #4094 from hmcl/trunk_MINOR_Doc_InflightProp (cherry picked from commit 7fdafda9796fc8033c5f77bf19be17be462e1b4e) Signed-off-by: Ismael Juma <ism...@juma.me.uk> Project: http://git-wip-us.apache.org/repos/asf/kafka/repo Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/a1a32c1d Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/a1a32c1d Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/a1a32c1d Branch: refs/heads/1.0 Commit: a1a32c1d30999f2ddd63e84fb59dff5b0fcd1bfd Parents: 9dbb07c Author: Hugo Louro <hmclo...@gmail.com> Authored: Thu Oct 19 10:35:18 2017 +0100 Committer: Ismael Juma <ism...@juma.me.uk> Committed: Thu Oct 19 10:35:29 2017 +0100 ---------------------------------------------------------------------- .../main/java/org/apache/kafka/clients/producer/KafkaProducer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kafka/blob/a1a32c1d/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 bb05e2c..60b1a9d 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 @@ -151,7 +151,7 @@ import static org.apache.kafka.common.serialization.ExtendedSerializer.Wrapper.e * <p> * To enable idempotence, the <code>enable.idempotence</code> configuration must be set to true. If set, the * <code>retries</code> config will be defaulted to <code>Integer.MAX_VALUE</code>, the - * <code>max.inflight.requests.per.connection</code> config will be defaulted to <code>1</code>, + * <code>max.in.flight.requests.per.connection</code> config will be defaulted to <code>1</code>, * and <code>acks</code> config will be defaulted to <code>all</code>. There are no API changes for the idempotent * producer, so existing applications will not need to be modified to take advantage of this feature. * </p>