public class KafkaFailStop extends Object implements KafkaFailureHandler
KafkaFailureHandler.Strategy
Constructor and Description |
---|
KafkaFailStop(String channel,
KafkaSource<?,?> source) |
Modifier and Type | Method and Description |
---|---|
<K,V> CompletionStage<Void> |
handle(IncomingKafkaRecord<K,V> record,
Throwable reason,
Metadata metadata) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
terminate
public KafkaFailStop(String channel, KafkaSource<?,?> source)
public <K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record, Throwable reason, Metadata metadata)
handle
in interface KafkaFailureHandler
Copyright © 2018–2021 SmallRye. All rights reserved.