Re: Graceful shutdown without using jmx

2014-08-06 Thread Daniel Compton
Hi Jongyoul If you did want to set the JMX Port on startup, you could do this by setting the JMX_PORT environment variable when starting the server. Here is how we do it. We've put this into it's own script file. env JMX_PORT=8110 $KAFKA_HOME/bin/kafka-server-start.sh $KAFKA_HOME/config/server.pr

Re: Graceful shutdown without using jmx

2014-08-03 Thread Jun Rao
You can use the controlled shutdown http://kafka.apache.org/documentation.html#basic_ops_restarting Thanks, Jun On Sun, Aug 3, 2014 at 7:42 PM, Jongyoul Lee wrote: > Hi, > > I've installed kafka 0.8.1.1 on linux. But the linux kafka-server-start.sh > doesn't set default jmx port so I cannot c

Graceful shutdown without using jmx

2014-08-03 Thread Jongyoul Lee
Hi, I've installed kafka 0.8.1.1 on linux. But the linux kafka-server-start.sh doesn't set default jmx port so I cannot change leader of some partitions. How can I shutdown without data loss or duplication? I've already tested, and I've known that kafka lose data without graceful shutdown. Regard