mjsax commented on code in PR #16093:
URL: https://github.com/apache/kafka/pull/16093#discussion_r1687235242


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamTask.java:
##########
@@ -800,6 +804,9 @@ record = null;
             record = null;
             throw exception;
         } catch (final RuntimeException e) {
+            // Do not keep the failed processing exception in the stack trace
+            final Throwable processingException = e instanceof 
FailedProcessingException ? e.getCause() : e;

Review Comment:
   We should not use `instanceof` but add a new `catch 
(FailedProcessingException)` block to cover this case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to