Apache RocketMQ ConsumerGroups API

The ConsumerGroups API from Apache RocketMQ — 1 operation(s) for consumergroups.

Operations 2

GET /consumer-groups Apache RocketMQ List Consumer Groups #
POST /consumer-groups Apache RocketMQ Create Consumer Group #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/apache-rocketmq-consumergroups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

apache-rocketmq-consumergroups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Apache RocketMQ REST Brokers Consumer Groups API
  description: Apache RocketMQ is a cloud-native messaging and streaming platform. This API provides REST endpoints for sending and receiving messages, managing topics and subscriptions, and monitoring brokers and consumer groups.
  version: 5.1.0
  contact:
    name: Apache RocketMQ
    url: https://rocketmq.apache.org/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: https://rocketmq.example.com/api/v1
  description: Apache RocketMQ REST API
tags:
- name: ConsumerGroups
paths:
  /consumer-groups:
    get:
      operationId: listConsumerGroups
      summary: Apache RocketMQ List Consumer Groups
      description: List all consumer groups in the RocketMQ cluster.
      tags:
      - ConsumerGroups
      x-microcks-operation:
        dispatcher: RANDOM
      responses:
        '200':
          description: List of consumer groups
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerGroupList'
    post:
      operationId: createConsumerGroup
      summary: Apache RocketMQ Create Consumer Group
      description: Create a new consumer group for subscribing to topics.
      tags:
      - ConsumerGroups
      x-microcks-operation:
        dispatcher: RANDOM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConsumerGroupRequest'
      responses:
        '201':
          description: Consumer group created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConsumerGroup'
components:
  schemas:
    ConsumerGroupRequest:
      type: object
      description: Request to create a consumer group
      required:
      - name
      properties:
        name:
          type: string
          description: Consumer group name
        consumeFromWhere:
          type: string
          enum:
          - CONSUME_FROM_LAST_OFFSET
          - CONSUME_FROM_FIRST_OFFSET
        messageModel:
          type: string
          enum:
          - BROADCASTING
          - CLUSTERING
    ConsumerGroupList:
      type: object
      description: List of consumer groups
      properties:
        groups:
          type: array
          items:
            $ref: '#/components/schemas/ConsumerGroup'
        total:
          type: integer
    ConsumerGroup:
      type: object
      description: RocketMQ consumer group
      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