Apache RocketMQ · JSON Structure

Apache Rocketmq Consumer Group Structure

RocketMQ consumer group

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

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

Properties

name consumeFromWhere consumeType messageModel

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-consumer-group-structure.json",
  "description": "RocketMQ consumer group",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Consumer group name"
    },
    "consumeFromWhere": {
      "type": "string",
      "enum": [
        "CONSUME_FROM_LAST_OFFSET",
        "CONSUME_FROM_FIRST_OFFSET",
        "CONSUME_FROM_TIMESTAMP"
      ]
    },
    "consumeType": {
      "type": "string",
      "enum": [
        "CONSUME_ACTIVELY",
        "CONSUME_PASSIVELY"
      ]
    },
    "messageModel": {
      "type": "string",
      "enum": [
        "BROADCASTING",
        "CLUSTERING"
      ]
    }
  },
  "name": "ConsumerGroup"
}