Detecting async producer failures (0.7.x)

2013-02-22 Thread Michal Haris
Hi I need to detect and handle exceptions that occur in the ProducerSendThread of async producer but can't find any discussion or example how to capture them. Anybody can point me to some resource ? Thanks

Re: Detecting async producer failures (0.7.x)

2013-02-22 Thread Jun Rao
Are you using your own event handler? If so, you can catch all the exceptions in handle(). Thanks, Jun On Fri, Feb 22, 2013 at 1:34 AM, Michal Haris wrote: > Hi I need to detect and handle exceptions that occur in the > ProducerSendThread of async producer but can't find any discussion or > exa

Re: Detecting async producer failures (0.7.x)

2013-02-23 Thread Michal Haris
Nope. Just a producer connector with async type. Wasn't aware i can pass an event handler, will try that but I was hoping i can query the producer for send status/error. On Feb 23, 2013 2:41 AM, "Jun Rao" wrote: > Are you using your own event handler? If so, you can catch all the > exceptions in

Re: Detecting async producer failures (0.7.x)

2013-02-23 Thread Jun Rao
Currently, we don't have a way query the send status in the async mode. We'd like to support something like that in the future. Thanks, Jun On Sat, Feb 23, 2013 at 1:32 AM, Michal Haris wrote: > Nope. Just a producer connector with async type. Wasn't aware i can pass > an event handler, will t