You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Sybrandy, Casey" <Ca...@Six3Systems.com> on 2013/03/21 19:17:55 UTC

Turning off a running broker

Hello,

We're looking to shut down a broker that we no longer need, however we wish to do so without losing any messages.  My current thought in 0.7 is to shutdown the producers, let the consumers finish, shut down the broker, then start the producers back up.  Is there another way to do this as we don't have control over all of the producers/consumers?

Also, in 0.8, how would you do this?  My impression is that if replication is set up correctly, we should be able to simply shut down the broker.

Thanks.

Casey

Re: Turning off a running broker

Posted by Neha Narkhede <ne...@gmail.com>.
Please see a similar discussion here -
http://search-hadoop.com/m/4TaT4HCtHD/changing+broker+hosts+with+0.7.2&subj=Re+changing+broker+hosts+with+0+7+2

Thanks,
Neha


On Thu, Mar 21, 2013 at 11:17 AM, Sybrandy, Casey <
Casey.Sybrandy@six3systems.com> wrote:

> Hello,
>
> We're looking to shut down a broker that we no longer need, however we
> wish to do so without losing any messages.  My current thought in 0.7 is to
> shutdown the producers, let the consumers finish, shut down the broker,
> then start the producers back up.  Is there another way to do this as we
> don't have control over all of the producers/consumers?
>
> Also, in 0.8, how would you do this?  My impression is that if replication
> is set up correctly, we should be able to simply shut down the broker.
>
> Thanks.
>
> Casey
>