@Singleton @Primary public class DefaultKafkaListenerExceptionHandler extends Object implements KafkaListenerExceptionHandler
KafkaConsumer
fails to process a ConsumerRecord. By default just logs the error.| Constructor and Description |
|---|
DefaultKafkaListenerExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(KafkaListenerException exception)
Handle the given exception.
|
public DefaultKafkaListenerExceptionHandler()
public void handle(KafkaListenerException exception)
ExceptionHandlerhandle in interface ExceptionHandler<KafkaListenerException>exception - The exception to handle