public class KafkaThrottledLatestProcessedCommit extends Object implements KafkaCommitHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
KafkaThrottledLatestProcessedCommit.TooManyMessagegsWithoutAckingException |
KafkaCommitHandler.Strategy| Modifier and Type | Method and Description |
|---|---|
static void |
clearCache() |
static KafkaThrottledLatestProcessedCommit |
create(io.vertx.mutiny.kafka.client.consumer.KafkaConsumer<?,?> consumer,
Map<String,String> config,
KafkaSource<?,?> source) |
<K,V> CompletionStage<Void> |
handle(IncomingKafkaRecord<K,V> record) |
void |
partitionsAssigned(io.vertx.mutiny.core.Context context,
Set<io.vertx.kafka.client.common.TopicPartition> partitions) |
<K,V> IncomingKafkaRecord<K,V> |
received(IncomingKafkaRecord<K,V> record) |
public static void clearCache()
public static KafkaThrottledLatestProcessedCommit create(io.vertx.mutiny.kafka.client.consumer.KafkaConsumer<?,?> consumer, Map<String,String> config, KafkaSource<?,?> source)
public void partitionsAssigned(io.vertx.mutiny.core.Context context,
Set<io.vertx.kafka.client.common.TopicPartition> partitions)
partitionsAssigned in interface KafkaCommitHandlerpublic <K,V> IncomingKafkaRecord<K,V> received(IncomingKafkaRecord<K,V> record)
received in interface KafkaCommitHandlerpublic <K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record)
handle in interface KafkaCommitHandlerCopyright © 2018–2020 SmallRye. All rights reserved.