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 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description static StringDEAD_LETTER_CAUSEstatic StringDEAD_LETTER_OFFSETstatic StringDEAD_LETTER_PARTITIONstatic StringDEAD_LETTER_REASONstatic StringDEAD_LETTER_TOPIC 
- 
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 KafkaFailureHandlercreate(io.vertx.mutiny.core.Vertx vertx, Map<String,String> kafkaConfiguration, KafkaConnectorIncomingConfiguration conf, KafkaSource<?,?> source, KafkaCDIEvents kafkaCDIEvents)<K,V>
CompletionStage<Void>handle(IncomingKafkaRecord<K,V> record, Throwable reason)voidterminate() 
 - 
 
- 
- 
Field Detail
- 
DEAD_LETTER_REASON
public static final String DEAD_LETTER_REASON
- See Also:
 - Constant Field Values
 
 
- 
DEAD_LETTER_CAUSE
public static final String DEAD_LETTER_CAUSE
- See Also:
 - Constant Field Values
 
 
- 
DEAD_LETTER_TOPIC
public static final String DEAD_LETTER_TOPIC
- See Also:
 - Constant Field Values
 
 
- 
DEAD_LETTER_OFFSET
public static final String DEAD_LETTER_OFFSET
- See Also:
 - Constant Field Values
 
 
- 
DEAD_LETTER_PARTITION
public static final String DEAD_LETTER_PARTITION
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
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, KafkaCDIEvents kafkaCDIEvents)
 
- 
handle
public <K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record, Throwable reason)
- Specified by:
 handlein interfaceKafkaFailureHandler
 
- 
terminate
public void terminate()
- Specified by:
 terminatein interfaceKafkaFailureHandler
 
 - 
 
 -