Apache RocketMQ · JSON Structure

Apache Rocketmq Send Result Structure

Result of sending a message

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

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

Properties

msgId offsetMsgId queueOffset queueId sendStatus

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-send-result-structure.json",
  "description": "Result of sending a message",
  "type": "object",
  "properties": {
    "msgId": {
      "type": "string",
      "description": "Message identifier"
    },
    "offsetMsgId": {
      "type": "string",
      "description": "Physical offset message ID"
    },
    "queueOffset": {
      "type": "int64",
      "description": "Queue offset of the message"
    },
    "queueId": {
      "type": "int32",
      "description": "Queue ID the message was sent to"
    },
    "sendStatus": {
      "type": "string",
      "enum": [
        "SEND_OK",
        "FLUSH_DISK_TIMEOUT",
        "FLUSH_SLAVE_TIMEOUT",
        "SLAVE_NOT_AVAILABLE"
      ]
    }
  },
  "name": "SendResult"
}