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


##########
streams/src/main/java/org/apache/kafka/streams/errors/LogAndFailProcessingExceptionHandler.java:
##########
@@ -16,22 +16,28 @@
  */
 package org.apache.kafka.streams.errors;
 
+import org.apache.kafka.streams.StreamsConfig;
 import org.apache.kafka.streams.processor.api.Record;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import java.util.Map;
 
+import static 
org.apache.kafka.streams.errors.ExceptionHandlerUtils.maybeBuildDeadLetterQueueRecords;
+
 /**
  * Processing exception handler that logs a processing exception and then
  * signals the processing pipeline to stop processing more records and fail.
  */
 public class LogAndFailProcessingExceptionHandler implements 
ProcessingExceptionHandler {
     private static final Logger log = 
LoggerFactory.getLogger(LogAndFailProcessingExceptionHandler.class);
+    private String deadLetterQueueTopic = null;
 
+    @Deprecated
     @Override
-    public ProcessingHandlerResponse handle(final ErrorHandlerContext context, 
final Record<?, ?> record, final Exception exception) {
+    public ProcessingHandlerResponse handle(final ErrorHandlerContext context,
+                                            final Record<?, ?> record, final 
Exception exception) {

Review Comment:
   done



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