vertx / io.vertx.kotlin.kafka.admin / topicDescriptionOf

topicDescriptionOf

fun topicDescriptionOf(internal: Boolean? = null, name: String? = null, partitions: Iterable<TopicPartitionInfo>? = null): TopicDescription

A function providing a DSL for building io.vertx.kafka.admin.TopicDescription objects.

A detailed description of a single topic in the cluster

Parameters

internal - Set whether the topic is internal to Kafka.

name - Set the name of the topic.

partitions - Set A list of partitions where the index represents the partition id and the element contains leadership and replica information for that partition.