Interface KafkaListenerErrorHandler

All Known Subinterfaces:
ConsumerAwareListenerErrorHandler, ManualAckListenerErrorHandler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KafkaListenerErrorHandler
An error handler which is called when a @KafkaListener method throws an exception. This is invoked higher up the stack than the listener container's error handler. For methods annotated with @SendTo, the error handler can return a result.
Venil Noronha, Gary Russell, Artem Bilan