kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Birdsong <david.birds...@gmail.com>
Subject Re: Manage Kafka using supervisor, failed to restart
Date Mon, 22 Oct 2012 17:17:30 GMT
Using start scripts with supervisor usually doesn't work. Java is probably
a grandchild of supervisor and therefore not getting the term signal and
not exiting. Sure the start script exits, but there's probably a java
process hanging out; check ps.

please excuse my brevity on this mobile device
On Oct 22, 2012 9:06 AM, "howard chen" <howachen@gmail.com> wrote:

> I am using supervisor to manage Kafka, with the config:
>
> [program:kafka]
> command=/opt/kafka/bin/kafka-server-start.sh
> /opt/kafka/config/server.properties
> directory=/opt/kafka
> user=kafka
> autostart=true
> autorestart=true
> startretries=10
> stdout_logfile=/opt/kafka/logs/kafka.log
>
> I was able to start Kafka, but not able to stop Kafka completely, as
> when I start Kafka after the stop, it said the port is being used.
>
> So definitely the previous shutdown was not complete, anyone got an
> idea what is the issue?
>
> Thanks.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message