Interface KafkaCommitHandler
-
- All Known Implementing Classes:
KafkaIgnoreCommit
,KafkaLatestCommit
,KafkaThrottledLatestProcessedCommit
public interface KafkaCommitHandler
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KafkaCommitHandler.Strategy
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description <K,V>
CompletionStage<Void>handle(IncomingKafkaRecord<K,V> record)
default void
partitionsAssigned(Collection<io.vertx.kafka.client.common.TopicPartition> partitions)
default void
partitionsRevoked(Collection<io.vertx.kafka.client.common.TopicPartition> partitions)
default <K,V>
IncomingKafkaRecord<K,V>received(IncomingKafkaRecord<K,V> record)
default void
terminate()
-
-
-
Method Detail
-
received
default <K,V> IncomingKafkaRecord<K,V> received(IncomingKafkaRecord<K,V> record)
-
terminate
default void terminate()
-
partitionsAssigned
default void partitionsAssigned(Collection<io.vertx.kafka.client.common.TopicPartition> partitions)
-
partitionsRevoked
default void partitionsRevoked(Collection<io.vertx.kafka.client.common.TopicPartition> partitions)
-
handle
<K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record)
-
-