sebastienviale commented on code in PR #17942:
URL: https://github.com/apache/kafka/pull/17942#discussion_r2210236466


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java:
##########
@@ -462,15 +483,15 @@ private void recordSendError(final String topic,
             // TransactionAbortedException is only thrown after 
`abortTransaction()` was called,
             // so it's only a followup error, and Kafka Streams is already 
handling the original error
         } else {
-            final ProductionExceptionHandlerResponse response;
+            final ProductionExceptionHandler.Response response;
             try {
                 response = Objects.requireNonNull(
-                    productionExceptionHandler.handle(
+                    productionExceptionHandler.handleError(
                         errorHandlerContext(context, processorNodeId),
                         serializedRecord,
                         productionException
                     ),
-                    "Invalid ProductionExceptionHandler response."
+                    "Invalid ProductionExceptionResponse response."

Review Comment:
   fixed



-- 
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