Uses of Class
io.vertx.kafka.client.common.PartitionInfo
Packages that use PartitionInfo
Package
Description
-
Uses of PartitionInfo in io.vertx.kafka.client.common
Methods in io.vertx.kafka.client.common that return PartitionInfoModifier and TypeMethodDescriptionPartitionInfo.setInSyncReplicas(List<Node> inSyncReplicas) Set the subset of the replicas that are in syncSet the node id of the node currently acting as a leaderPartitionInfo.setPartition(int partition) Set the partition idPartitionInfo.setReplicas(List<Node> replicas) Set the complete set of replicas for this partitionSet the topic name -
Uses of PartitionInfo in io.vertx.kafka.client.consumer
Methods in io.vertx.kafka.client.consumer that return types with arguments of type PartitionInfoModifier and TypeMethodDescriptionKafkaConsumer.listTopics()LikeKafkaConsumer.listTopics(Handler)but returns aFutureof the asynchronous resultKafkaConsumer.partitionsFor(String topic) LikeKafkaConsumer.partitionsFor(String, Handler)but returns aFutureof the asynchronous resultMethod parameters in io.vertx.kafka.client.consumer with type arguments of type PartitionInfoModifier and TypeMethodDescriptionKafkaConsumer.listTopics(Handler<AsyncResult<Map<String, List<PartitionInfo>>>> handler) Get metadata about partitions for all topics that the user is authorized to view.KafkaConsumer.partitionsFor(String topic, Handler<AsyncResult<List<PartitionInfo>>> handler) Get metadata about the partitions for a given topic. -
Uses of PartitionInfo in io.vertx.kafka.client.producer
Methods in io.vertx.kafka.client.producer that return types with arguments of type PartitionInfoModifier and TypeMethodDescriptionKafkaProducer.partitionsFor(String topic) LikeKafkaProducer.partitionsFor(String, Handler)but returns aFutureof the asynchronous resultMethod parameters in io.vertx.kafka.client.producer with type arguments of type PartitionInfoModifier and TypeMethodDescriptionKafkaProducer.partitionsFor(String topic, Handler<AsyncResult<List<PartitionInfo>>> handler) Get the partition metadata for the give topic.