public class KafkaLatestCommit extends ContextHolder implements KafkaCommitHandler
This handler is the default when `enable.auto.commit` is `false`. This strategy provides at-least-once delivery if the channel processes the message without performing any asynchronous processing.
This strategy should not be used on high-load as offset commit is expensive.
To use set `commit-strategy` to `latest`.
KafkaCommitHandler.Strategycontext, vertx| Constructor and Description | 
|---|
KafkaLatestCommit(io.vertx.mutiny.core.Vertx vertx,
                 KafkaConnectorIncomingConfiguration configuration,
                 ReactiveKafkaConsumer<?,?> consumer)  | 
| Modifier and Type | Method and Description | 
|---|---|
<K,V> CompletionStage<Void> | 
handle(IncomingKafkaRecord<K,V> record)  | 
capture, getContext, runOnContext, runOnContextAndAwaitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpartitionsAssigned, partitionsRevoked, received, terminatepublic KafkaLatestCommit(io.vertx.mutiny.core.Vertx vertx,
                         KafkaConnectorIncomingConfiguration configuration,
                         ReactiveKafkaConsumer<?,?> consumer)
public <K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record)
handle in interface KafkaCommitHandlerCopyright © 2018–2021 SmallRye. All rights reserved.