Uses of Class
io.vertx.kafka.client.common.TopicPartition
Packages that use TopicPartition
Package
Description
-
Uses of TopicPartition in io.vertx.kafka.admin
Methods in io.vertx.kafka.admin that return types with arguments of type TopicPartitionModifier and TypeMethodDescriptionFuture<Map<TopicPartition,org.apache.kafka.clients.admin.DeletedRecords>> KafkaAdminClient.deleteRecords(Map<TopicPartition, org.apache.kafka.clients.admin.RecordsToDelete> recordsToDelete) LikeKafkaAdminClient.deleteRecords(Map, Handler)but returns aFutureof the asynchronous resultMemberAssignment.getTopicPartitions()default Future<Map<TopicPartition,OffsetAndMetadata>> KafkaAdminClient.listConsumerGroupOffsets(String groupId) LikeKafkaAdminClient.listConsumerGroupOffsets(String, Handler)but returns aFutureof the asynchronous resultKafkaAdminClient.listConsumerGroupOffsets(String groupId, ListConsumerGroupOffsetsOptions options) LikeKafkaAdminClient.listConsumerGroupOffsets(String, ListConsumerGroupOffsetsOptions, Handler)but returns aFutureof the asynchronous resultKafkaAdminClient.listOffsets(Map<TopicPartition, OffsetSpec> topicPartitionOffsets) Likebut returns ainvalid @link
#listOffsets(Map<TopicPartition, OffsetSpec>, Handler)Futureof the asynchronous resultListConsumerGroupOffsetsOptions.topicPartitions()Returns a list of topic partitions to add as part of the result.Method parameters in io.vertx.kafka.admin with type arguments of type TopicPartitionModifier and TypeMethodDescriptionKafkaAdminClient.alterConsumerGroupOffsets(String groupId, Map<TopicPartition, OffsetAndMetadata> offsets) LikeKafkaAdminClient.alterConsumerGroupOffsets(String, Map, Handler)but returns aFutureof the asynchronous resultvoidKafkaAdminClient.alterConsumerGroupOffsets(String groupId, Map<TopicPartition, OffsetAndMetadata> offsets, Handler<AsyncResult<Void>> completionHandler) Alter committed offsets for a set of partitions in a consumer group.KafkaAdminClient.deleteConsumerGroupOffsets(String groupId, Set<TopicPartition> partitions) LikeKafkaAdminClient.deleteConsumerGroupOffsets(String, Set, Handler)but returns aFutureof the asynchronous resultvoidKafkaAdminClient.deleteConsumerGroupOffsets(String groupId, Set<TopicPartition> partitions, Handler<AsyncResult<Void>> completionHandler) Delete committed offsets for a set of partitions in a consumer group.Future<Map<TopicPartition,org.apache.kafka.clients.admin.DeletedRecords>> KafkaAdminClient.deleteRecords(Map<TopicPartition, org.apache.kafka.clients.admin.RecordsToDelete> recordsToDelete) LikeKafkaAdminClient.deleteRecords(Map, Handler)but returns aFutureof the asynchronous resultvoidKafkaAdminClient.deleteRecords(Map<TopicPartition, org.apache.kafka.clients.admin.RecordsToDelete> recordsToDelete, Handler<AsyncResult<Map<TopicPartition, org.apache.kafka.clients.admin.DeletedRecords>>> completionHandler) Delete records from a topic partition.voidKafkaAdminClient.deleteRecords(Map<TopicPartition, org.apache.kafka.clients.admin.RecordsToDelete> recordsToDelete, Handler<AsyncResult<Map<TopicPartition, org.apache.kafka.clients.admin.DeletedRecords>>> completionHandler) Delete records from a topic partition.default voidKafkaAdminClient.listConsumerGroupOffsets(String groupId, Handler<AsyncResult<Map<TopicPartition, OffsetAndMetadata>>> completionHandler) List the consumer group offsets available in the cluster.voidKafkaAdminClient.listConsumerGroupOffsets(String groupId, ListConsumerGroupOffsetsOptions options, Handler<AsyncResult<Map<TopicPartition, OffsetAndMetadata>>> completionHandler) List the consumer group offsets available in the cluster.KafkaAdminClient.listOffsets(Map<TopicPartition, OffsetSpec> topicPartitionOffsets) Likebut returns ainvalid @link
#listOffsets(Map<TopicPartition, OffsetSpec>, Handler)Futureof the asynchronous resultvoidKafkaAdminClient.listOffsets(Map<TopicPartition, OffsetSpec> topicPartitionOffsets, Handler<AsyncResult<Map<TopicPartition, ListOffsetsResultInfo>>> completionHandler) List the offsets available for a set of partitions.voidKafkaAdminClient.listOffsets(Map<TopicPartition, OffsetSpec> topicPartitionOffsets, Handler<AsyncResult<Map<TopicPartition, ListOffsetsResultInfo>>> completionHandler) List the offsets available for a set of partitions.MemberAssignment.setTopicPartitions(Set<TopicPartition> topicPartitions) Set the list of topic partitionsListConsumerGroupOffsetsOptions.topicPartitions(List<TopicPartition> topicPartitions) Set the topic partitions to list as part of the result.Constructor parameters in io.vertx.kafka.admin with type arguments of type TopicPartition -
Uses of TopicPartition in io.vertx.kafka.client.common
Methods in io.vertx.kafka.client.common that return TopicPartitionModifier and TypeMethodDescriptionTopicPartition.setPartition(int partition) Set the partition numberSet the topic nameConstructors in io.vertx.kafka.client.common with parameters of type TopicPartition -
Uses of TopicPartition in io.vertx.kafka.client.consumer
Methods in io.vertx.kafka.client.consumer that return types with arguments of type TopicPartitionModifier and TypeMethodDescriptionKafkaConsumer.assignment()LikeKafkaConsumer.assignment(Handler)but returns aFutureof the asynchronous resultKafkaConsumer.beginningOffsets(Set<TopicPartition> topicPartitions) LikeKafkaConsumer.beginningOffsets(Set, Handler)but returns aFutureof the asynchronous resultKafkaConsumer.commit(Map<TopicPartition, OffsetAndMetadata> offsets) Commit the specified offsets for the specified list of topics and partitions to Kafka.KafkaConsumer.endOffsets(Set<TopicPartition> topicPartitions) LikeKafkaConsumer.endOffsets(Set, Handler)but returns aFutureof the asynchronous resultKafkaConsumer.offsetsForTimes(Map<TopicPartition, Long> topicPartitionTimestamps) LikeKafkaConsumer.offsetsForTimes(Map, Handler)but returns aFutureof the asynchronous resultKafkaConsumer.paused()LikeKafkaConsumer.paused(Handler)but returns aFutureof the asynchronous resultMethods in io.vertx.kafka.client.consumer with parameters of type TopicPartitionModifier and TypeMethodDescriptionKafkaConsumer.assign(TopicPartition topicPartition) Manually assign a partition to this consumer.KafkaConsumer.assign(TopicPartition topicPartition, Handler<AsyncResult<Void>> completionHandler) Manually assign a partition to this consumer.KafkaConsumer.beginningOffsets(TopicPartition topicPartition) LikeKafkaConsumer.beginningOffsets(TopicPartition, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.beginningOffsets(TopicPartition topicPartition, Handler<AsyncResult<Long>> handler) Get the first offset for the given partitions.KafkaConsumer.committed(TopicPartition topicPartition) LikeKafkaConsumer.committed(TopicPartition, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.committed(TopicPartition topicPartition, Handler<AsyncResult<OffsetAndMetadata>> handler) Get the last committed offset for the given partition (whether the commit happened by this process or another).KafkaConsumer.endOffsets(TopicPartition topicPartition) LikeKafkaConsumer.endOffsets(TopicPartition, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.endOffsets(TopicPartition topicPartition, Handler<AsyncResult<Long>> handler) Get the last offset for the given partition.KafkaConsumer.offsetsForTimes(TopicPartition topicPartition, Long timestamp) LikeKafkaConsumer.offsetsForTimes(TopicPartition, Long, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.offsetsForTimes(TopicPartition topicPartition, Long timestamp, Handler<AsyncResult<OffsetAndTimestamp>> handler) Look up the offset for the given partition by timestamp.KafkaConsumer.pause(TopicPartition topicPartition) Suspend fetching from the requested partition.KafkaConsumer.pause(TopicPartition topicPartition, Handler<AsyncResult<Void>> completionHandler) Suspend fetching from the requested partition.KafkaConsumer.position(TopicPartition partition) LikeKafkaConsumer.position(TopicPartition, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.position(TopicPartition partition, Handler<AsyncResult<Long>> handler) Get the offset of the next record that will be fetched (if a record with that offset exists).KafkaConsumer.resume(TopicPartition topicPartition) Resume specified partition which have been paused with pause.KafkaConsumer.resume(TopicPartition topicPartition, Handler<AsyncResult<Void>> completionHandler) Resume specified partition which have been paused with pause.KafkaConsumer.seek(TopicPartition topicPartition, long offset) Overrides the fetch offsets that the consumer will use on the next poll.KafkaConsumer.seek(TopicPartition topicPartition, long offset, Handler<AsyncResult<Void>> completionHandler) Overrides the fetch offsets that the consumer will use on the next poll.KafkaConsumer.seekToBeginning(TopicPartition topicPartition) Seek to the first offset for each of the given partition.KafkaConsumer.seekToBeginning(TopicPartition topicPartition, Handler<AsyncResult<Void>> completionHandler) Seek to the first offset for each of the given partition.KafkaConsumer.seekToEnd(TopicPartition topicPartition) Seek to the last offset for each of the given partition.KafkaConsumer.seekToEnd(TopicPartition topicPartition, Handler<AsyncResult<Void>> completionHandler) Seek to the last offset for each of the given partition.Method parameters in io.vertx.kafka.client.consumer with type arguments of type TopicPartitionModifier and TypeMethodDescriptionKafkaConsumer.assign(Set<TopicPartition> topicPartitions) Manually assign a list of partition to this consumer.KafkaConsumer.assign(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Void>> completionHandler) Manually assign a list of partition to this consumer.KafkaConsumer.assignment(Handler<AsyncResult<Set<TopicPartition>>> handler) Get the set of partitions currently assigned to this consumer.KafkaConsumer.beginningOffsets(Set<TopicPartition> topicPartitions) LikeKafkaConsumer.beginningOffsets(Set, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.beginningOffsets(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Map<TopicPartition, Long>>> handler) Get the first offset for the given partitions.voidKafkaConsumer.beginningOffsets(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Map<TopicPartition, Long>>> handler) Get the first offset for the given partitions.KafkaConsumer.commit(Map<TopicPartition, OffsetAndMetadata> offsets) Commit the specified offsets for the specified list of topics and partitions to Kafka.voidKafkaConsumer.commit(Map<TopicPartition, OffsetAndMetadata> offsets, Handler<AsyncResult<Map<TopicPartition, OffsetAndMetadata>>> completionHandler) Commit the specified offsets for the specified list of topics and partitions to Kafka.voidKafkaConsumer.commit(Map<TopicPartition, OffsetAndMetadata> offsets, Handler<AsyncResult<Map<TopicPartition, OffsetAndMetadata>>> completionHandler) Commit the specified offsets for the specified list of topics and partitions to Kafka.KafkaConsumer.endOffsets(Set<TopicPartition> topicPartitions) LikeKafkaConsumer.endOffsets(Set, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.endOffsets(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Map<TopicPartition, Long>>> handler) Get the last offset for the given partitions.voidKafkaConsumer.endOffsets(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Map<TopicPartition, Long>>> handler) Get the last offset for the given partitions.KafkaConsumer.offsetsForTimes(Map<TopicPartition, Long> topicPartitionTimestamps) LikeKafkaConsumer.offsetsForTimes(Map, Handler)but returns aFutureof the asynchronous resultvoidKafkaConsumer.offsetsForTimes(Map<TopicPartition, Long> topicPartitionTimestamps, Handler<AsyncResult<Map<TopicPartition, OffsetAndTimestamp>>> handler) Look up the offsets for the given partitions by timestamp.voidKafkaConsumer.offsetsForTimes(Map<TopicPartition, Long> topicPartitionTimestamps, Handler<AsyncResult<Map<TopicPartition, OffsetAndTimestamp>>> handler) Look up the offsets for the given partitions by timestamp.KafkaConsumer.partitionsAssignedHandler(Handler<Set<TopicPartition>> handler) Set the handler called when topic partitions are assigned to the consumerKafkaConsumer.partitionsRevokedHandler(Handler<Set<TopicPartition>> handler) Set the handler called when topic partitions are revoked to the consumerKafkaConsumer.pause(Set<TopicPartition> topicPartitions) Suspend fetching from the requested partitions.KafkaConsumer.pause(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Void>> completionHandler) Suspend fetching from the requested partitions.voidKafkaConsumer.paused(Handler<AsyncResult<Set<TopicPartition>>> handler) Get the set of partitions that were previously paused by a call to pause(Set).KafkaConsumer.resume(Set<TopicPartition> topicPartitions) Resume specified partitions which have been paused with pause.KafkaConsumer.resume(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Void>> completionHandler) Resume specified partitions which have been paused with pause.KafkaConsumer.seekToBeginning(Set<TopicPartition> topicPartitions) Seek to the first offset for each of the given partitions.KafkaConsumer.seekToBeginning(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Void>> completionHandler) Seek to the first offset for each of the given partitions.KafkaConsumer.seekToEnd(Set<TopicPartition> topicPartitions) Seek to the last offset for each of the given partitions.KafkaConsumer.seekToEnd(Set<TopicPartition> topicPartitions, Handler<AsyncResult<Void>> completionHandler) Seek to the last offset for each of the given partitions.