Interface DlqDestinationResolver

  • All Superinterfaces:
    BiFunction<org.apache.kafka.clients.consumer.ConsumerRecord<?,​?>,​Exception,​String>
    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 DlqDestinationResolver
    extends BiFunction<org.apache.kafka.clients.consumer.ConsumerRecord<?,​?>,​Exception,​String>
    A BiFunction extension for defining DLQ destination resolvers. The BiFunction takes the ConsumerRecord and the exception as inputs and returns a topic name as the DLQ.
    Since:
    3.0.9
    Author:
    Soby Chacko