Uses of Class
io.vertx.mutiny.kafka.client.consumer.KafkaConsumer
Packages that use KafkaConsumer
-
Uses of KafkaConsumer in io.vertx.mutiny.kafka.client.consumer
Fields in io.vertx.mutiny.kafka.client.consumer with type parameters of type KafkaConsumerMethods in io.vertx.mutiny.kafka.client.consumer that return KafkaConsumerModifier and TypeMethodDescriptionKafkaConsumer.assignAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Manually assign a partition to this consumer.KafkaConsumer.assignAndForget(Set<io.vertx.kafka.client.common.TopicPartition> topicPartitions) Manually assign a list of partition to this consumer.KafkaConsumer.assignmentAndForget()Get the set of partitions currently assigned to this consumer.KafkaConsumer.batchHandler(Consumer<KafkaConsumerRecords<K, V>> handler) Set the handler to be used when batches of messages are fetched from the Kafka server.KafkaConsumer.beginningOffsetsAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Get the first offset for the given partitions.KafkaConsumer.closeAndForget()Close the consumerKafkaConsumer.commitAndForget()Commit current offsets for all the subscribed list of topics and partition.KafkaConsumer.committedAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Get the last committed offset for the given partition (whether the commit happened by this process or another).static <K,V> KafkaConsumer<K, V> Create a new KafkaConsumer instancestatic <K,V> KafkaConsumer<K, V> KafkaConsumer.create(Vertx vertx, io.vertx.kafka.client.common.KafkaClientOptions options, Class<K> keyType, Class<V> valueType) Create a new KafkaConsumer instancestatic <K,V> KafkaConsumer<K, V> Create a new KafkaConsumer instancestatic <K,V> KafkaConsumer<K, V> Create a new KafkaConsumer instancestatic <K,V> KafkaConsumer<K, V> Create a new KafkaConsumer instance from a nativeConsumer.static <K,V> KafkaConsumer<K, V> KafkaConsumer.create(Vertx vertx, org.apache.kafka.clients.consumer.Consumer<K, V> consumer, io.vertx.kafka.client.common.KafkaClientOptions options) Create a new KafkaConsumer instance from a nativeConsumer.KafkaConsumer.endHandler(Runnable endHandler) KafkaConsumer.endOffsetsAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Get the last offset for the given partition.KafkaConsumer.exceptionHandler(Consumer<Throwable> handler) KafkaConsumer.fetch(long amount) KafkaConsumer.handler(Consumer<KafkaConsumerRecord<K, V>> handler) static <K,V> KafkaConsumer<K, V> KafkaConsumer.newInstance(io.vertx.kafka.client.consumer.KafkaConsumer<K, V> delegate) Creates a new instance of theKafkaConsumer.static <K,V> KafkaConsumer<K, V> KafkaConsumer.newInstance(io.vertx.kafka.client.consumer.KafkaConsumer<K, V> delegate, TypeArg<K> typeArg_0, TypeArg<V> typeArg_1) Creates a new instance of theKafkaConsumer.KafkaConsumer.offsetsForTimesAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition, Long timestamp) Look up the offset for the given partition by timestamp.KafkaConsumer.partitionsAssignedHandler(Consumer<Set<io.vertx.kafka.client.common.TopicPartition>> handler) Set the handler called when topic partitions are assigned to the consumerKafkaConsumer.partitionsForAndForget(String topic) Get metadata about the partitions for a given topic.KafkaConsumer.partitionsRevokedHandler(Consumer<Set<io.vertx.kafka.client.common.TopicPartition>> handler) Set the handler called when topic partitions are revoked to the consumerKafkaConsumer.pause()KafkaConsumer.pauseAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Suspend fetching from the requested partition.KafkaConsumer.pauseAndForget(Set<io.vertx.kafka.client.common.TopicPartition> topicPartitions) Suspend fetching from the requested partitions.KafkaConsumer.pausedAndForget()Get the set of partitions that were previously paused by a call to pause(Set).KafkaConsumer.pipeToAndForget(WriteStream<KafkaConsumerRecord<K, V>> dst) Pipe thisReadStreamto theWriteStream.KafkaConsumer.pollAndForget(Duration timeout) Executes a poll for getting messages from Kafka.KafkaConsumer.pollTimeout(Duration timeout) Sets the poll timeout for the underlying native Kafka Consumer.KafkaConsumer.positionAndForget(io.vertx.kafka.client.common.TopicPartition partition) Get the offset of the next record that will be fetched (if a record with that offset exists).KafkaConsumer.resume()KafkaConsumer.resumeAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Resume specified partition which have been paused with pause.KafkaConsumer.resumeAndForget(Set<io.vertx.kafka.client.common.TopicPartition> topicPartitions) Resume specified partitions which have been paused with pause.KafkaConsumer.seekAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition, long offset) Overrides the fetch offsets that the consumer will use on the next poll.KafkaConsumer.seekAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition, io.vertx.kafka.client.consumer.OffsetAndMetadata offsetAndMetadata) Overrides the fetch offsets that the consumer will use on the next poll.KafkaConsumer.seekToBeginningAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Seek to the first offset for each of the given partition.KafkaConsumer.seekToBeginningAndForget(Set<io.vertx.kafka.client.common.TopicPartition> topicPartitions) Seek to the first offset for each of the given partitions.KafkaConsumer.seekToEndAndForget(io.vertx.kafka.client.common.TopicPartition topicPartition) Seek to the last offset for each of the given partition.KafkaConsumer.seekToEndAndForget(Set<io.vertx.kafka.client.common.TopicPartition> topicPartitions) Seek to the last offset for each of the given partitions.KafkaConsumer.subscribeAndForget(String topic) Subscribe to the given topic to get dynamically assigned partitions.KafkaConsumer.subscribeAndForget(Pattern pattern) Subscribe to all topics matching specified pattern to get dynamically assigned partitions.KafkaConsumer.subscribeAndForget(Set<String> topics) Subscribe to the given list of topics to get dynamically assigned partitions.KafkaConsumer.subscriptionAndForget()Get the current subscription.KafkaConsumer.unsubscribeAndForget()Unsubscribe from topics currently subscribed with subscribe.