Apache RocketMQ · Schema

Topic

RocketMQ topic

Cloud NativeMessagingMessage QueuePub-SubStreamingApacheOpen Source

Properties

Name Type Description
name string Topic name
clusterName string Cluster name
queueNum integer Number of message queues
perm integer Permission flags (2=write, 4=read, 6=read+write)
topicFilterType string
View JSON Schema on GitHub

JSON Schema

apache-rocketmq-topic-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-rocketmq/refs/heads/main/json-schema/apache-rocketmq-topic-schema.json",
  "title": "Topic",
  "description": "RocketMQ topic",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Topic name"
    },
    "clusterName": {
      "type": "string",
      "description": "Cluster name"
    },
    "queueNum": {
      "type": "integer",
      "description": "Number of message queues"
    },
    "perm": {
      "type": "integer",
      "description": "Permission flags (2=write, 4=read, 6=read+write)"
    },
    "topicFilterType": {
      "type": "string",
      "enum": [
        "SINGLE_TAG",
        "MULTI_TAG"
      ]
    }
  }
}