You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ew...@apache.org on 2017/11/22 00:07:11 UTC
kafka git commit: KAFKA-4115: Increasing the heap settings for
Connect scripts
Repository: kafka
Updated Branches:
refs/heads/trunk 049342e44 -> cfa6a78c7
KAFKA-4115: Increasing the heap settings for Connect scripts
Signed-off-by: Arjun Satish <arjunconfluent.io>
Author: Arjun Satish <ar...@confluent.io>
Reviewers: Randall Hauch <rh...@gmail.com>, Ewen Cheslack-Postava <ew...@confluent.io>
Closes #4213 from wicknicks/KAFKA-4115
Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/cfa6a78c
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/cfa6a78c
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/cfa6a78c
Branch: refs/heads/trunk
Commit: cfa6a78c7c2529839d2f3cb1129098f2e552fd72
Parents: 049342e
Author: Arjun Satish <ar...@confluent.io>
Authored: Tue Nov 21 16:07:06 2017 -0800
Committer: Ewen Cheslack-Postava <me...@ewencp.org>
Committed: Tue Nov 21 16:07:06 2017 -0800
----------------------------------------------------------------------
bin/connect-distributed.sh | 4 ++++
bin/connect-standalone.sh | 4 ++++
2 files changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kafka/blob/cfa6a78c/bin/connect-distributed.sh
----------------------------------------------------------------------
diff --git a/bin/connect-distributed.sh b/bin/connect-distributed.sh
index 99cd27b..08fc57b 100755
--- a/bin/connect-distributed.sh
+++ b/bin/connect-distributed.sh
@@ -26,6 +26,10 @@ if [ "x$KAFKA_LOG4J_OPTS" = "x" ]; then
export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../config/connect-log4j.properties"
fi
+if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
+ export KAFKA_HEAP_OPTS="-Xms256M -Xmx2G"
+fi
+
EXTRA_ARGS=${EXTRA_ARGS-'-name connectDistributed'}
COMMAND=$1
http://git-wip-us.apache.org/repos/asf/kafka/blob/cfa6a78c/bin/connect-standalone.sh
----------------------------------------------------------------------
diff --git a/bin/connect-standalone.sh b/bin/connect-standalone.sh
index 623562a..931cc37 100755
--- a/bin/connect-standalone.sh
+++ b/bin/connect-standalone.sh
@@ -26,6 +26,10 @@ if [ "x$KAFKA_LOG4J_OPTS" = "x" ]; then
export KAFKA_LOG4J_OPTS="-Dlog4j.configuration=file:$base_dir/../config/connect-log4j.properties"
fi
+if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
+ export KAFKA_HEAP_OPTS="-Xms256M -Xmx2G"
+fi
+
EXTRA_ARGS=${EXTRA_ARGS-'-name connectStandalone'}
COMMAND=$1