You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Yonghui Zhao <zh...@gmail.com> on 2013/12/13 08:36:17 UTC

How to monitor consumer connection?

Hi,

In kafka 0.7.2,  we use 2 brokers and 12 consumers.

I have 2 questions:

1. seems if one broker is restarted then all consumers need restart to
reconnect to kafka.  right?
2. How to monitor whether the consumer connection with the broker is
healthy?

Thank you very much.

Re: How to monitor consumer connection?

Posted by Jun Rao <ju...@gmail.com>.
If you are using ZK based consumers, they should handle broker restarts
automatically.

Thanks,

Jun


On Thu, Dec 12, 2013 at 11:36 PM, Yonghui Zhao <zh...@gmail.com>wrote:

> Hi,
>
> In kafka 0.7.2,  we use 2 brokers and 12 consumers.
>
> I have 2 questions:
>
> 1. seems if one broker is restarted then all consumers need restart to
> reconnect to kafka.  right?
> 2. How to monitor whether the consumer connection with the broker is
> healthy?
>
> Thank you very much.
>