kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject git commit: kafka-1531; zookeeper.connection.timeout.ms is set to 10000000 in configuration file in Kafka tarball; patched by Manikumar Reddy; reviewed by Jun Rao
Date Wed, 16 Jul 2014 15:13:11 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 3e6b386b7 -> b428d8cc4


kafka-1531; zookeeper.connection.timeout.ms is set to 10000000 in configuration file in Kafka
tarball; patched by Manikumar Reddy; reviewed by Jun Rao


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/b428d8cc
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/b428d8cc
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/b428d8cc

Branch: refs/heads/trunk
Commit: b428d8cc48237099af648de12d18be78d54446eb
Parents: 3e6b386
Author: Manikumar Reddy <manikumar.reddy@gmail.com>
Authored: Wed Jul 16 08:13:06 2014 -0700
Committer: Jun Rao <junrao@gmail.com>
Committed: Wed Jul 16 08:13:06 2014 -0700

----------------------------------------------------------------------
 config/consumer.properties |  2 +-
 config/server.properties   | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/b428d8cc/config/consumer.properties
----------------------------------------------------------------------
diff --git a/config/consumer.properties b/config/consumer.properties
index 7343cbc..83847de 100644
--- a/config/consumer.properties
+++ b/config/consumer.properties
@@ -20,7 +20,7 @@
 zookeeper.connect=127.0.0.1:2181
 
 # timeout in ms for connecting to zookeeper
-zookeeper.connection.timeout.ms=1000000
+zookeeper.connection.timeout.ms=6000
 
 #consumer group id
 group.id=test-consumer-group

http://git-wip-us.apache.org/repos/asf/kafka/blob/b428d8cc/config/server.properties
----------------------------------------------------------------------
diff --git a/config/server.properties b/config/server.properties
index c9e923a..f16c84c 100644
--- a/config/server.properties
+++ b/config/server.properties
@@ -37,16 +37,16 @@ port=9092
 #advertised.port=<port accessible by clients>
 
 # The number of threads handling network requests
-num.network.threads=2
+num.network.threads=3
  
 # The number of threads doing disk I/O
 num.io.threads=8
 
 # The send buffer (SO_SNDBUF) used by the socket server
-socket.send.buffer.bytes=1048576
+socket.send.buffer.bytes=102400
 
 # The receive buffer (SO_RCVBUF) used by the socket server
-socket.receive.buffer.bytes=1048576
+socket.receive.buffer.bytes=65536
 
 # The maximum size of a request that the socket server will accept (protection against OOM)
 socket.request.max.bytes=104857600
@@ -60,7 +60,7 @@ log.dirs=/tmp/kafka-logs
 # The default number of log partitions per topic. More partitions allow greater
 # parallelism for consumption, but this will also result in more files across
 # the brokers.
-num.partitions=2
+num.partitions=1
 
 ############################# Log Flush Policy #############################
 
@@ -94,11 +94,11 @@ log.retention.hours=168
 #log.retention.bytes=1073741824
 
 # The maximum size of a log segment file. When this size is reached a new log segment will
be created.
-log.segment.bytes=536870912
+log.segment.bytes=1073741824
 
 # The interval at which log segments are checked to see if they can be deleted according

 # to the retention policies
-log.retention.check.interval.ms=60000
+log.retention.check.interval.ms=300000
 
 # By default the log cleaner is disabled and the log retention policy will default to just
delete segments after their retention expires.
 # If log.cleaner.enable=true is set the cleaner will be enabled and individual logs can then
be marked for log compaction.
@@ -114,4 +114,4 @@ log.cleaner.enable=false
 zookeeper.connect=localhost:2181
 
 # Timeout in ms for connecting to zookeeper
-zookeeper.connection.timeout.ms=1000000
+zookeeper.connection.timeout.ms=6000


Mime
View raw message