Interface ConsumerAwareListenerErrorHandler

  • All Superinterfaces:
    KafkaListenerErrorHandler
    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 ConsumerAwareListenerErrorHandler
    extends KafkaListenerErrorHandler
    An error handler that has access to the consumer. IMPORTANT: do not perform seek operations on the consumer, the container won't be aware. Use a container-level error handler such as the SeekToCurrentErrorHandler for such situations.
    Since:
    2.0
    Author:
    Gary Russell