Apache RocketMQ · JSON Structure

Apache Rocketmq Message Structure

Received RocketMQ message

Type: object Properties: 8
Cloud NativeMessagingMessage QueuePub-SubStreamingApacheOpen Source

Message is a JSON Structure definition published by Apache RocketMQ, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

msgId topic body tag keys properties bornTimestamp receiptHandle

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-message-structure.json",
  "description": "Received RocketMQ message",
  "type": "object",
  "properties": {
    "msgId": {
      "type": "string",
      "description": "Message identifier"
    },
    "topic": {
      "type": "string",
      "description": "Topic name"
    },
    "body": {
      "type": "string",
      "description": "Message body"
    },
    "tag": {
      "type": "string",
      "description": "Message tag"
    },
    "keys": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "properties": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "bornTimestamp": {
      "type": "int64",
      "description": "Message creation timestamp in milliseconds"
    },
    "receiptHandle": {
      "type": "string",
      "description": "Handle for acknowledging the message"
    }
  },
  "name": "Message"
}