Created
March 11, 2016 04:29
-
-
Save thanhson1085/73297a0d29dd5ef748af to your computer and use it in GitHub Desktop.
Kafka Upstart Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kafka Upstart | |
# | |
description "Kafka" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 2 20 | |
env KAFKA_HOME=/home/ubuntu/kafka_2.11-0.8.2.2 | |
exec $KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment