public interface KafkaCommitHandler
Modifier and Type | Interface and Description |
---|---|
static class |
KafkaCommitHandler.Strategy |
Modifier and Type | Method and Description |
---|---|
<K,V> CompletionStage<Void> |
handle(IncomingKafkaRecord<K,V> record) |
default void |
partitionsAssigned(Collection<org.apache.kafka.common.TopicPartition> partitions) |
default void |
partitionsRevoked(Collection<org.apache.kafka.common.TopicPartition> partitions) |
default <K,V> IncomingKafkaRecord<K,V> |
received(IncomingKafkaRecord<K,V> record) |
default void |
terminate(boolean graceful) |
default <K,V> IncomingKafkaRecord<K,V> received(IncomingKafkaRecord<K,V> record)
default void terminate(boolean graceful)
default void partitionsAssigned(Collection<org.apache.kafka.common.TopicPartition> partitions)
default void partitionsRevoked(Collection<org.apache.kafka.common.TopicPartition> partitions)
<K,V> CompletionStage<Void> handle(IncomingKafkaRecord<K,V> record)
Copyright © 2018–2021 SmallRye. All rights reserved.