|
|
-
Detecting async producer failures (0.7.x)
Michal Haris 2013-02-22, 09:35
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
+
Michal Haris 2013-02-22, 09:35
-
Re: Detecting async producer failures (0.7.x)
Jun Rao 2013-02-23, 02:41
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 <[EMAIL PROTECTED]>wrote:
> 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 >
+
Jun Rao 2013-02-23, 02:41
-
Re: Detecting async producer failures (0.7.x)
Michal Haris 2013-02-23, 09:33
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" <[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED] > >wrote: > > > 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 > > >
+
Michal Haris 2013-02-23, 09:33
-
Re: Detecting async producer failures (0.7.x)
Jun Rao 2013-02-23, 19:57
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 <[EMAIL PROTECTED]>wrote:
> 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" <[EMAIL PROTECTED]> wrote: > > > 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 < > [EMAIL PROTECTED] > > >wrote: > > > > > 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 > > > > > >
+
Jun Rao 2013-02-23, 19:57
|
|