vertx / io.vertx.kotlin.kafka.client.common / topicPartitionInfoOf

topicPartitionInfoOf

fun topicPartitionInfoOf(isr: Iterable<Node>? = null, leader: Node? = null, partition: Int? = null, replicas: Iterable<Node>? = null): TopicPartitionInfo

A function providing a DSL for building io.vertx.kafka.client.common.TopicPartitionInfo objects.

A class containing leadership, replicas and ISR information for a topic partition.

Parameters

isr - Set the subset of the replicas that are in sync

leader - Set the node id of the node currently acting as a leader

partition - Set the partition id

replicas - Set the complete set of replicas for this partition