-runit and Kafka
Guy Doulberg 2012-07-05, 09:24
In my deployment of Kafka I am using runit to control the service of the
In the run script I have this line:
exec /opt/kafka/bin/kafka-server-start.sh /etc/kafka/server.properties
It works fine, if I want to start the broker, but if I want to stop or
restart the process, the kafka broker doesn't get kill...
So eventually the old kafka broker prevents from the new broker to start
(Because the ports are already binded).
Of course the running the same line of code in the shell and then ctrl-c
ing works good (as you know kafka broker is not a daemon)
I was wondering if someone has encountered this phenomena and solved it.
Jay Kreps 2012-07-05, 19:19
Guy Doulberg 2012-07-08, 06:35
Guy Doulberg 2012-07-08, 07:12
Jun Rao 2012-07-09, 03:59
Jay Kreps 2012-07-09, 16:32