abbccdda commented on a change in pull request #9700: URL: https://github.com/apache/kafka/pull/9700#discussion_r538667676
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java ########## @@ -199,7 +200,9 @@ private void recordSendError(final String topic, final Exception exception, fina if (isFatalException(exception)) { errorMessage += "\nWritten offsets would not be recorded and no more records would be sent since this is a fatal error."; sendException.set(new StreamsException(errorMessage, exception)); - } else if (exception instanceof ProducerFencedException || exception instanceof OutOfOrderSequenceException) { + } else if (exception instanceof ProducerFencedException || + exception instanceof InvalidProducerEpochException || + exception instanceof OutOfOrderSequenceException) { Review comment: Wasn't over thinking here since this is a blocker-fix, so we don't want to trigger any regression here by changing existing exception catching logic. Would be good to do this as a follow-up I guess. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org