Class BatchLoggingErrorHandler

java.lang.Object
org.springframework.kafka.listener.BatchLoggingErrorHandler
All Implemented Interfaces:
BatchErrorHandler, GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecords<?,?>>

@Deprecated public class BatchLoggingErrorHandler extends Object implements BatchErrorHandler
Deprecated.
- use the CommonLoggingErrorHandler instead.
Simple handler that logs each record.
Since:
1.1
  • Constructor Details

    • BatchLoggingErrorHandler

      public BatchLoggingErrorHandler()
      Deprecated.
  • Method Details

    • handle

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