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

topicPartitionOf

fun topicPartitionOf(partition: Int? = null, topic: String? = null): TopicPartition

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

Represent information related to a partition for a topic

Parameters

partition - Set the partition number

topic - Set the topic name