From d691faf98cb573c4e92748d95d5c8afc492db806 Mon Sep 17 00:00:00 2001 From: Jason Gustafson Date: Fri, 25 Mar 2016 12:51:54 -0700 Subject: [PATCH] KAFKA-3463: change default receive buffer size for consumer to 64K Author: Jason Gustafson Reviewers: Gwen Shapira Closes #1140 from hachikuji/KAFKA-3463 --- .../org/apache/kafka/clients/consumer/ConsumerConfig.java | 2 +- docs/upgrade.html | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java index c97c8fb4702..69c4a362092 100644 --- a/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java +++ b/clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java @@ -243,7 +243,7 @@ public class ConsumerConfig extends AbstractConfig { CommonClientConfigs.SEND_BUFFER_DOC) .define(RECEIVE_BUFFER_CONFIG, Type.INT, - 32 * 1024, + 64 * 1024, atLeast(0), Importance.MEDIUM, CommonClientConfigs.RECEIVE_BUFFER_DOC) diff --git a/docs/upgrade.html b/docs/upgrade.html index f1e1e40e05e..060c3deb33d 100644 --- a/docs/upgrade.html +++ b/docs/upgrade.html @@ -64,7 +64,7 @@ work with 0.10.0.x brokers. Therefore, 0.9.0.0 clients should be upgraded to 0.9 is set to 0.10.0, one should not change it back to an earlier format as it may break consumers on versions before 0.10.0.0.

-
potential breaking changes in 0.10.0.0
+
Potential breaking changes in 0.10.0.0
+
Notable changes in 0.10.0.0
+ + +

Upgrading from 0.8.0, 0.8.1.X or 0.8.2.X to 0.9.0.0

0.9.0.0 has potential breaking changes (please review before upgrading) and an inter-broker protocol change from previous versions. This means that upgraded brokers and clients may not be compatible with older versions. It is important that you upgrade your Kafka cluster before upgrading your clients. If you are using MirrorMaker downstream clusters should be upgraded first as well.