Class KafkaDeadLetterQueue
- java.lang.Object
-
- io.smallrye.reactive.messaging.kafka.fault.KafkaDeadLetterQueue
-
- All Implemented Interfaces:
KafkaFailureHandler
public class KafkaDeadLetterQueue extends Object implements KafkaFailureHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.smallrye.reactive.messaging.kafka.fault.KafkaFailureHandler
KafkaFailureHandler.Strategy
-
-
Constructor Summary
Constructors Constructor Description KafkaDeadLetterQueue(String channel, String topic, io.vertx.mutiny.kafka.client.producer.KafkaProducer producer, KafkaSource<?,?> source)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KafkaFailureHandler
create(io.vertx.mutiny.core.Vertx vertx, Map<String,String> kafkaConfiguration, KafkaConnectorIncomingConfiguration conf, KafkaSource<?,?> source)
<K,V>
CompletionStage<Void>handle(IncomingKafkaRecord<K,V> record, Throwable reason)
-
-
-
Constructor Detail
-
KafkaDeadLetterQueue
public KafkaDeadLetterQueue(String channel, String topic, io.vertx.mutiny.kafka.client.producer.KafkaProducer producer, KafkaSource<?,?> source)
-
-
Method Detail
-
create
public static KafkaFailureHandler create(io.vertx.mutiny.core.Vertx vertx, Map<String,String> kafkaConfiguration, KafkaConnectorIncomingConfiguration conf, KafkaSource<?,?> source)
-
handle
public <K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record, Throwable reason)
- Specified by:
handle
in interfaceKafkaFailureHandler
-
-