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


##########
streams/src/main/java/org/apache/kafka/streams/errors/ProductionExceptionHandler.java:
##########
@@ -56,10 +66,16 @@ default ProductionExceptionHandlerResponse handle(final 
ErrorHandlerContext cont
      * Handles serialization exception and determine if the process should 
continue. The default implementation is to
      * fail the process.
      *
-     * @param record        the record that failed to serialize
-     * @param exception     the exception that occurred during serialization
+     * @param record
+     *     The record that failed to serialize.
+     * @param exception
+     *     The exception that occurred during serialization.
+     *
+     * @return Whether to continue or stop processing, or retry the failed 
operation.
+     *
      * @deprecated Since 3.9. Use {@link 
#handleSerializationException(ErrorHandlerContext, ProducerRecord, Exception, 
SerializationExceptionOrigin)} instead.
      */
+    @SuppressWarnings({"rawtypes", "unused"})

Review Comment:
   We cannot... It's a know issue. (Would break backward compatibility -- it's 
a Java thing)



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