From afa886cf387b3b184f127c2b9b62e480e25d6730 Mon Sep 17 00:00:00 2001 From: Mickael Maison Date: Fri, 29 Jul 2016 11:13:34 +0100 Subject: [PATCH] KAFKA-3946: Protocol guide should say that Produce request acks can only be 0, 1, or -1 Rephrased the documentation string for the Produce request Updated the acks configuration docs to state that -1, 0, and 1 are the only allowed values --- .../java/org/apache/kafka/clients/producer/ProducerConfig.java | 2 +- .../main/java/org/apache/kafka/common/protocol/Protocol.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 8685dbd5e1320..3293aabfd1834 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 @@ -75,7 +75,7 @@ public class ProducerConfig extends AbstractConfig { /** acks */ public static final String ACKS_CONFIG = "acks"; private static final String ACKS_DOC = "The number of acknowledgments the producer requires the leader to have received before considering a request complete. This controls the " - + " durability of records that are sent. The following settings are common: " + + " durability of records that are sent. The following settings are allowed: " + "