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>
ABiFunction
extension for defining DLQ destination resolvers. The BiFunction takes theConsumerRecord
and the exception as inputs and returns a topic name as the DLQ.- Since:
- 3.0.9
- Author:
- Soby Chacko
-
-
Method Summary
-
Methods inherited from interface java.util.function.BiFunction
andThen, apply
-
-