Hi Luke, thank you for your answer.
I will try it, I think I will set an alert if there are too many messages.
To ignore the message should I simply return "replace_thread" in the
handler?

On Tue, Aug 10, 2021 at 12:16 PM Luke Chen <show...@gmail.com> wrote:

> Hi Yoda,
> For your question:
> > If an application gets an uncaught exception, then the failed thread will
> be replaced with another thread and it will continue processing messages,
> skipping that failed message?
>
> --> Yes, if everything goes well after `replace thread`, you can ignore
> this failed message. Just one reminder that you should check the failed
> message to avoid this `uncaught exception` thrown again, because if this
> happens frequently, it'll impact application performance.
>
> Thank you.
> Luke
>
> On Tue, Aug 10, 2021 at 4:25 PM Yoda Jedi Master <yodaj...@gmail.com>
> wrote:
>
> > "REPLACE_THREAD - Replaces the thread receiving the exception and
> > processing continues with the same number of configured threads. (Note:
> > this can result in duplicate records depending on the application’s
> > processing mode determined by the PROCESSING_GUARANTEE_CONFIG value)"
> >
> > If an application gets an uncaught exception, then the failed thread will
> > be replaced with another thread and it will continue processing messages,
> > skipping that failed message?
> >
>

Reply via email to