Class KafkaFailStop
- java.lang.Object
-
- io.smallrye.reactive.messaging.kafka.fault.KafkaFailStop
-
- All Implemented Interfaces:
KafkaFailureHandler
public class KafkaFailStop 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 KafkaFailStop(String channel, KafkaSource<?,?> source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <K,V>
CompletionStage<Void>handle(IncomingKafkaRecord<K,V> record, Throwable reason)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.reactive.messaging.kafka.fault.KafkaFailureHandler
terminate
-
-
-
-
Constructor Detail
-
KafkaFailStop
public KafkaFailStop(String channel, KafkaSource<?,?> source)
-
-
Method Detail
-
handle
public <K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record, Throwable reason)
- Specified by:
handle
in interfaceKafkaFailureHandler
-
-