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

TopicPartition

fun TopicPartition(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