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

PartitionInfo

fun PartitionInfo(inSyncReplicas: Iterable<Node>? = null, leader: Node? = null, partition: Int? = null, replicas: Iterable<Node>? = null, topic: String? = null): PartitionInfo

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

Information about a specific Kafka topic partition

Parameters

inSyncReplicas - 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

topic - Set the topic name