Apache RocketMQ · JSON Structure

Apache Rocketmq Topic Request Structure

Request to create a RocketMQ topic

Type: object Properties: 4 Required: 1
Cloud NativeMessagingMessage QueuePub-SubStreamingApacheOpen Source

TopicRequest is a JSON Structure definition published by Apache RocketMQ, describing 4 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name clusterName queueNum perm

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-rocketmq/refs/heads/main/json-structure/apache-rocketmq-topic-request-structure.json",
  "description": "Request to create a RocketMQ topic",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Topic name"
    },
    "clusterName": {
      "type": "string",
      "description": "Target cluster"
    },
    "queueNum": {
      "type": "int32",
      "description": "Number of queues (default 8)"
    },
    "perm": {
      "type": "int32",
      "description": "Permission (6 = read+write)"
    }
  },
  "required": [
    "name"
  ],
  "name": "TopicRequest"
}