GetTopicsTopic

data class GetTopicsTopic(val compactTopic: Boolean, val createTime: String, val id: String, val instanceId: String, val localTopic: Boolean, val partitionNum: Int, val remark: String, val status: Int, val statusName: String, val tags: Map<String, String>? = null, val topic: String)

Constructors

Link copied to clipboard
constructor(compactTopic: Boolean, createTime: String, id: String, instanceId: String, localTopic: Boolean, partitionNum: Int, remark: String, status: Int, statusName: String, tags: Map<String, String>? = null, topic: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

whether the current topic is kafka compact topic or not.

Link copied to clipboard

Time of creation.

Link copied to clipboard
val id: String

The ID of the topic, It is formatted to <instance_id>:<topic>.

Link copied to clipboard

ID of the instance.

Link copied to clipboard

whether the current topic is kafka local topic or not.

Link copied to clipboard

Partition number of the topic.

Link copied to clipboard

Remark of the topic.

Link copied to clipboard
val status: Int

The current status code of the topic. There are three values to describe the topic status: 0 stands for the topic is in service, 1 stands for freezing and 2 stands for pause.

Link copied to clipboard

The status_name of the topic.

Link copied to clipboard
val tags: Map<String, String>? = null

A mapping of tags to assign to the topic.

Link copied to clipboard

A topic to filter results by the topic name.