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


##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordCollectorImpl.java:
##########
@@ -329,22 +337,22 @@ private <K, V> void handleException(final 
ProductionExceptionHandler.Serializati
                                         final Integer partition,
                                         final Long timestamp,
                                         final String processorNodeId,
-                                        final InternalProcessorContext<Void, 
Void> context,
+                                        final InternalProcessorContext<?, ?> 
context,
                                         final Exception 
serializationException) {
         log.debug(String.format("Error serializing record for topic %s", 
topic), serializationException);
 
         final ProducerRecord<K, V> record = new ProducerRecord<>(topic, 
partition, timestamp, key, value, headers);
 
-        final ProductionExceptionHandlerResponse response;
+        final ProductionExceptionHandler.Response response;
         try {
             response = Objects.requireNonNull(
-                productionExceptionHandler.handleSerializationException(
+                productionExceptionHandler.handleSerializationError(
                     errorHandlerContext(context, processorNodeId),
                     record,
                     serializationException,
                     origin
                 ),
-                "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