You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Abhishek Agarwal <ab...@gmail.com> on 2017/07/16 15:02:45 UTC

Behavior when kafka producer is network partitioned

What is the behaviour in 0.10.x if kafka producer is not able to reach any
of the broker for a brief duration?

From what I understand from the code, all the nodes will be in disconnected
state. Since there is no node to query to, client will never query any node
and update the cluster. Even if kafka brokers come up or the network comes
back up, connection state will remain the same. Producing messages will
continue to fail till the kafka client is restarted. Is this understanding
correct?

-- 
Regards,
Abhishek Agarwal

Re: Behavior when kafka producer is network partitioned

Posted by Abhishek Agarwal <ab...@gmail.com>.
On Sun, Jul 16, 2017 at 8:32 PM, Abhishek Agarwal <ab...@gmail.com>
wrote:

> What is the behaviour in 0.10.x if kafka producer is not able to reach any
> of the broker for a brief duration?
>
> From what I understand from the code, all the nodes will be in
> disconnected state. Since there is no node to query to, client will never
> query any node and update the cluster. Even if kafka brokers come up or the
> network comes back up, connection state will remain the same. Producing
> messages will continue to fail till the kafka client is restarted. Is this
> understanding correct?
>
> --
> Regards,
> Abhishek Agarwal
>
>


-- 
Regards,
Abhishek Agarwal

Re: Behavior when kafka producer is network partitioned

Posted by Abhishek Agarwal <ab...@gmail.com>.
On Sun, Jul 16, 2017 at 8:32 PM, Abhishek Agarwal <ab...@gmail.com>
wrote:

> What is the behaviour in 0.10.x if kafka producer is not able to reach any
> of the broker for a brief duration?
>
> From what I understand from the code, all the nodes will be in
> disconnected state. Since there is no node to query to, client will never
> query any node and update the cluster. Even if kafka brokers come up or the
> network comes back up, connection state will remain the same. Producing
> messages will continue to fail till the kafka client is restarted. Is this
> understanding correct?
>
> --
> Regards,
> Abhishek Agarwal
>
>


-- 
Regards,
Abhishek Agarwal