sebastienviale commented on code in PR #17711: URL: https://github.com/apache/kafka/pull/17711#discussion_r1843801017
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/ProcessorStateManager.java: ########## @@ -538,13 +539,16 @@ public void flush() { } catch (final RuntimeException exception) { if (firstException == null) { // do NOT wrap the error if it is actually caused by Streams itself - if (exception instanceof StreamsException) + // In case of FailedProcessingException Do not keep the failed processing exception in the stack trace + if (exception instanceof FailedProcessingException) Review Comment: done good catch, I was not able to call flushCache() from the actual MockKeyValueStore. So i added a new MockCacheKeyValueStore that also implements the CachedStateStore -- 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