Class ContainerStoppingBatchErrorHandler

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

@Deprecated public class ContainerStoppingBatchErrorHandler extends KafkaExceptionLogLevelAware implements ContainerAwareBatchErrorHandler
Deprecated.
A container error handler that stops the container after an exception is thrown by the listener.
Since:
2.1
  • Constructor Details

    • ContainerStoppingBatchErrorHandler

      public ContainerStoppingBatchErrorHandler()
      Deprecated.
      Construct an instance with a SimpleAsyncTaskExecutor.
    • ContainerStoppingBatchErrorHandler

      public ContainerStoppingBatchErrorHandler(Executor executor)
      Deprecated.
      Construct an instance with the provided Executor.
      Parameters:
      executor - the executor.
  • Method Details