From: Helena McGough Date: Mon, 11 Dec 2017 09:06:16 +0000 (+0000) Subject: Updated kafka version X-Git-Tag: v4.0.0~44^2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=828ff57bf89493e1b07ca21591fca249d1e1490a;p=osm%2FMON.git Updated kafka version Change-Id: Ia3eb171252aa5aecc358ce44fda4de9e496c1375 Signed-off-by: Helena McGough --- diff --git a/kafkad b/kafkad index 04ad65c..59848f6 100644 --- a/kafkad +++ b/kafkad @@ -31,7 +31,7 @@ import urllib packages = ['default-jre', 'python-all'] for package in packages: subprocess.call(['apt-get', 'install', '--yes', package]) -urllib.urlretrieve("http://www-eu.apache.org/dist/kafka/0.11.0.1/kafka_2.11-0.11.0.1.tgz", filename="kafka.tgz") +urllib.urlretrieve("http://www-eu.apache.org/dist/kafka/0.11.0.2/kafka_2.11-0.11.0.2.tgz", filename="kafka.tgz") os.popen("mkdir /opt/kafka && tar -xf /root/kafka.tgz -C /opt/kafka --strip-components 1") os.popen("sed -i 's|zookeeper.connect=localhost:2181|zookeeper.connect=SO-ub.lxd:2181 |g' /opt/kafka/config/server.properties") os.popen("/opt/kafka/bin/kafka-server-start.sh kafka/config/server.properties &")