public class ContainerStoppingBatchErrorHandler extends java.lang.Object implements ContainerAwareBatchErrorHandler
| Constructor and Description |
|---|
ContainerStoppingBatchErrorHandler() |
ContainerStoppingBatchErrorHandler(java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(java.lang.Exception thrownException,
org.apache.kafka.clients.consumer.ConsumerRecords<?,?> data,
org.apache.kafka.clients.consumer.Consumer<?,?> consumer,
MessageListenerContainer container)
Handle the exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandlehandlepublic ContainerStoppingBatchErrorHandler()
public ContainerStoppingBatchErrorHandler(java.util.concurrent.Executor executor)
public void handle(java.lang.Exception thrownException,
org.apache.kafka.clients.consumer.ConsumerRecords<?,?> data,
org.apache.kafka.clients.consumer.Consumer<?,?> consumer,
MessageListenerContainer container)
BatchErrorHandlerhandle in interface BatchErrorHandlerhandle in interface ConsumerAwareBatchErrorHandlerhandle in interface ContainerAwareBatchErrorHandlerthrownException - the exception.data - the consumer records.consumer - the consumer.container - the container.