You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Yu, Libo " <li...@citi.com> on 2013/08/14 17:05:57 UTC

controlled shutdown

Hi,

In this link https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools
two ways to do controlled shutdown are mentioned. "The first approach is to set
"controlled.shutdown.enable" to true in the broker. Then, the broker will try to
move all leaders on it to other brokers one at time before shutting itself down"

For this approach, what is the expected way to shut down the broker? Kill the
process or send a signal? Thanks.

Libo


Re: controlled shutdown

Posted by Joel Koshy <jj...@gmail.com>.
You can send it a SIGTERM signal (SIGKILL won't work).

Thanks,

Joel

On Wed, Aug 14, 2013 at 8:05 AM, Yu, Libo <li...@citi.com> wrote:
> Hi,
>
> In this link https://cwiki.apache.org/confluence/display/KAFKA/Replication+tools
> two ways to do controlled shutdown are mentioned. "The first approach is to set
> "controlled.shutdown.enable" to true in the broker. Then, the broker will try to
> move all leaders on it to other brokers one at time before shutting itself down"
>
> For this approach, what is the expected way to shut down the broker? Kill the
> process or send a signal? Thanks.
>
> Libo
>