Re: callback handler is not getting called if cluster is down

2015-06-08 Thread Jiangjie Qin
KIP-19 should help in your case. Jiangjie (Becket) Qin On 6/8/15, 11:55 AM, "ankit tyagi" wrote: >Yes Jiangjie, > >I was using 1 broker with 1 replication factor for testing purpose. > >*Is there any way to detect broker failure with callback handler or any >other means while sending messages

Re: callback handler is not getting called if cluster is down

2015-06-08 Thread ankit tyagi
Yes Jiangjie, I was using 1 broker with 1 replication factor for testing purpose. *Is there any way to detect broker failure with callback handler or any other means while sending messages ??* On Mon, Jun 8, 2015 at 10:46 PM, Jiangjie Qin wrote: > What replication factor are you using? > > Cu

Re: callback handler is not getting called if cluster is down

2015-06-08 Thread Jiangjie Qin
What replication factor are you using? Currently if a partition is offline, the message in producer will not be sent but sit in accumulator until the partition comes back online. Do you mean you want to use the message send callback to detect broker failure? Jiangjie (Becket) Qin On 6/8/15, 12:2

callback handler is not getting called if cluster is down

2015-06-08 Thread ankit tyagi
Hi, we are using .8.2.0 broker and default async producer to send the message*. we recently found out that if whole cluster gets down then callback handler is not getting called while we are getting below exception continuously* *12:36:41,267# WARN [Selector] - Error in I/O with localhost/127.