From 79ace5698b859753d734d976a0539d703bb3babb Mon Sep 17 00:00:00 2001 From: Alex Gray Date: Fri, 31 Jan 2014 16:32:34 -0500 Subject: [PATCH] initial checkin for allowing modifications to kafka WITHOUT having to modify any distibuted kafka files or binaries. --- bin/kafka-run-class.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/kafka-run-class.sh b/bin/kafka-run-class.sh index 416ecad..2b0c8c8 100755 --- a/bin/kafka-run-class.sh +++ b/bin/kafka-run-class.sh @@ -22,6 +22,12 @@ fi base_dir=$(dirname $0)/.. +# Source in any custom or external Kafka options: +if [ -f $base_dir/config/custom_kafka_opts.sh ]; +then + . $base_dir/config/custom_kafka_opts.sh +fi + # create logs directory LOG_DIR=$base_dir/logs if [ ! -d $LOG_DIR ]; then -- 1.8.3.4 (Apple Git-47)