Class ContainerStoppingErrorHandler

java.lang.Object
org.springframework.kafka.listener.KafkaExceptionLogLevelAware
org.springframework.kafka.listener.ContainerStoppingErrorHandler
All Implemented Interfaces:
ConsumerAwareErrorHandler, ContainerAwareErrorHandler, ErrorHandler, GenericErrorHandler<org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>, RemainingRecordsErrorHandler

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

    • ContainerStoppingErrorHandler

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

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