Class LoggingErrorHandler

java.lang.Object
org.springframework.kafka.listener.LoggingErrorHandler
All Implemented Interfaces:
ErrorHandler, GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>

@Deprecated public class LoggingErrorHandler extends Object implements ErrorHandler
Deprecated.
- use the CommonLoggingErrorHandler instead.
The ErrorHandler implementation for logging purpose.
  • Constructor Details

    • LoggingErrorHandler

      public LoggingErrorHandler()
      Deprecated.
  • Method Details

    • handle

      public void handle(Exception thrownException, @Nullable org.apache.kafka.clients.consumer.ConsumerRecord<?,?> record)
      Deprecated.
      Description copied from interface: GenericErrorHandler
      Handle the exception.
      Specified by:
      handle in interface GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>
      Parameters:
      thrownException - The exception.
      record - the data.