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 <jongy...@gmail.com> 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 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. > > Regards, > JL > > -- > 이종열, Jongyoul Lee, 李宗烈 > http://madeng.net >