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


##########
streams/src/test/java/org/apache/kafka/streams/processor/internals/RecordCollectorTest.java:
##########
@@ -1242,7 +1244,7 @@ public void 
shouldThrowStreamsExceptionOnSubsequentSendIfFatalEvenWithContinueEx
             logContext,
             taskId,
             getExceptionalStreamsProducerOnSend(exception),
-            new 
ProductionExceptionHandlerMock(ProductionExceptionHandler.ProductionExceptionHandlerResponse.CONTINUE),
+            new 
ProductionExceptionHandlerMock(Optional.of(ProductionExceptionHandlerResponse.CONTINUE)),

Review Comment:
   Want to test 4 cases, so added `Optional` to make this possible.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to