Translate

Friday, February 14, 2014

/etc/superversord.conf file for kafka & supervisor

[unix_http_server]
file=/var/run/supervisor.sock

[supervisord]
http_port=/var/tmp/supervisor.sock
logfile=/var/log/supervisor/supervisord.log
logfile_maxbytes=50MB
logfile_backups=10
loglevel=info
pidfile=/var/run/supervisord.pid
nodaemon=false
minfds=1024
minprocs=200

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[program:storm-supervisor]
command=/home/storm/bin/storm  supervisor
user=kafka
autostart=true
startsecs=10
startretries=9
log_stdout=true
log_stderr=true
logfile=/var/log/storm/supervisor.log
logfile_maxbytes=20MB
logfile_backups=10

[program:kafka]
command=/home/kafka/bin/kafka-server-start.sh /home/kafka/config/server.properties
user=kafka
autostart=true
startsecs=10
startretries=9
log_stdout=true
log_stderr=true
logfile=/home/kafka/logs
logfile_maxbytes=20MB
logfile_backups=10

1 comment:

  1. To provide fast DNS response times for users across the globe you need to distribute your authoritative DNS servers (and users need to use DNS relays/servers close to them). hostingreport. info

    ReplyDelete

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)

Followers