## Uses of Class
io.vertx.kafka.client.common.TopicPartitionInfo

- Packages that use TopicPartitionInfo
  Package | Description
  --- | ---
  io.vertx.kafka.admin |
  io.vertx.kafka.client.common |

- - ### Uses of TopicPartitionInfo in io.vertx.kafka.admin

    Methods in io.vertx.kafka.admin that return types with arguments of type TopicPartitionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<TopicPartitionInfo>` | TopicDescription.`getPartitions()` |

    Method parameters in io.vertx.kafka.admin with type arguments of type TopicPartitionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `TopicDescription` | TopicDescription.`setPartitions​(List<TopicPartitionInfo> partitions)` | Set A list of partitions where the index represents the partition id and the element contains leadership and replica information for that partition.

    Constructor parameters in io.vertx.kafka.admin with type arguments of type TopicPartitionInfo
    Constructor | Description
    --- | ---
    `TopicDescription​(boolean isInternal, String name, List<TopicPartitionInfo> partitions, org.apache.kafka.common.Uuid topicId, Set<org.apache.kafka.common.acl.AclOperation> authorizedOperations)` | Constructor

  - ### Uses of TopicPartitionInfo in io.vertx.kafka.client.common

    Methods in io.vertx.kafka.client.common that return TopicPartitionInfo
    Modifier and Type | Method | Description
    --- | --- | ---
    `TopicPartitionInfo` | TopicPartitionInfo.`setIsr​(List<Node> isr)` | Set the subset of the replicas that are in sync
    `TopicPartitionInfo` | TopicPartitionInfo.`setLeader​(Node leader)` | Set the node id of the node currently acting as a leader
    `TopicPartitionInfo` | TopicPartitionInfo.`setPartition​(int partition)` | Set the partition id
    `TopicPartitionInfo` | TopicPartitionInfo.`setReplicas​(List<Node> replicas)` | Set the complete set of replicas for this partition