Re: Supervisord for Kafka 0.8.1

2016-03-25 Thread Kashyap Mhaisekar
Thanks guys. Will try these two. On Mar 25, 2016 12:36, "Daniel Tamai" wrote: > Hi Kashyap, > > Using supervisord 3.2, this is the snippet from my supervisord.conf for > Kafka: > > [program:kafka] > command=%(ENV_KAFKA_HOME)s/bin/kafka-server-start.sh >

Re: Supervisord for Kafka 0.8.1

2016-03-25 Thread Daniel Tamai
Hi Kashyap, Using supervisord 3.2, this is the snippet from my supervisord.conf for Kafka: [program:kafka] command=%(ENV_KAFKA_HOME)s/bin/kafka-server-start.sh %(ENV_CONFIG_DIR)s/server.properties stdout_logfile=%(ENV_LOG_DIR)s/kafka_out.log stderr_logfile=%(ENV_LOG_DIR)s/kafka_err.log umask=022

Re: Supervisord for Kafka 0.8.1

2016-03-25 Thread Achanta Vamsi Subhash
We use daemontools and this is our run file: #!/bin/bash PAC=kafka-0.8.2.x APP_HOME=/usr/share/$PAC # app options APP_CONFIG_HOME=${APP_HOME}/config APP_OPTS="${APP_CONFIG_HOME}/server.properties" JVM_OPTS="" # jvm user options if [ "abc$KAFKA_HEAP_OPTS" == "abc" ]; then export

Supervisord for Kafka 0.8.1

2016-03-25 Thread Kashyap Mhaisekar
Hi, Am having trouble configuring Kafka server starts with supervisord. Has anyone from this group succeeded in integrating Kafka server start and stop via supervisord? Can you please share the snippet of his out of configured? Thanks Kashyap