Skip to content

Commit

Permalink
Merge pull request wurstmeister#121 from yanndegat/master
Browse files Browse the repository at this point in the history
Bash script wait for KAFKA process
  • Loading branch information
wurstmeister authored Oct 22, 2016
2 parents 7f4c4a2 + 89a9c5b commit b6a3612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start-kafka.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ term_handler() {

# Capture kill requests to stop properly
trap "term_handler" SIGHUP SIGINT SIGTERM
create-topics.sh &
create-topics.sh &
$KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.properties &
KAFKA_PID=$!

wait
wait "$KAFKA_PID"

0 comments on commit b6a3612

Please sign in to comment.