[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Logging Kafka during exceptions

Hi Paul,

Thanks for the quick reply.  Ok does that mean that as general practice, I should be catching all exceptions for the purpose of logging in any of my Operators?  This seems like something that could be handled by Flink itself as they are unexpected exceptions. Otherwise every single operator I create must have a try catch block?



Support Line : +44(0) 2031 371 603
Mobile : +852 9611 3969

9/F, 33 Lockhart Road, Wan Chai, Hong Kong

On 22 Nov 2018, at 13:17, Paul Lam <paullin3280@xxxxxxxxx> wrote:

ng the exception in the user function and log the current 
message that the operator is processing before re-throwing (or not) the exception to

This message, including any attachments, may include private, privileged and confidential information and is intended only for the personal and confidential use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any review, use, dissemination, distribution, printing or copying of this message or its contents is strictly prohibited and may be unlawful. If you are not an intended recipient or have received this communication in error, please immediately notify the sender by telephone and/or a reply email and permanently delete the original message, including any attachments, without making a copy.