Apache RocketMQ · Capability

Apache RocketMQ REST API — ConsumerGroups

Apache RocketMQ REST API — ConsumerGroups. 2 operations. Lead operation: Apache RocketMQ List Consumer Groups. Self-contained Naftiko capability covering one Apache Rocketmq business surface.

Run with Naftiko Apache RocketmqConsumerGroups

What You Can Do

GET
Listconsumergroups — Apache RocketMQ List Consumer Groups
/v1/consumer-groups
POST
Createconsumergroup — Apache RocketMQ Create Consumer Group
/v1/consumer-groups

MCP Tools

apache-rocketmq-list-consumer-groups

Apache RocketMQ List Consumer Groups

read-only idempotent
apache-rocketmq-create-consumer-group

Apache RocketMQ Create Consumer Group

Capability Spec

rest-consumergroups.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache RocketMQ REST API — ConsumerGroups
  description: 'Apache RocketMQ REST API — ConsumerGroups. 2 operations. Lead operation: Apache RocketMQ List Consumer Groups.
    Self-contained Naftiko capability covering one Apache Rocketmq business surface.'
  tags:
  - Apache Rocketmq
  - ConsumerGroups
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_ROCKETMQ_API_KEY: APACHE_ROCKETMQ_API_KEY
capability:
  consumes:
  - type: http
    namespace: rest-consumergroups
    baseUri: https://rocketmq.example.com/api/v1
    description: Apache RocketMQ REST API — ConsumerGroups business capability. Self-contained, no shared references.
    resources:
    - name: consumer-groups
      path: /consumer-groups
      operations:
      - name: listconsumergroups
        method: GET
        description: Apache RocketMQ List Consumer Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createconsumergroup
        method: POST
        description: Apache RocketMQ Create Consumer Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: rest-consumergroups-rest
    port: 8080
    description: REST adapter for Apache RocketMQ REST API — ConsumerGroups. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/consumer-groups
      name: consumer-groups
      description: REST surface for consumer-groups.
      operations:
      - method: GET
        name: listconsumergroups
        description: Apache RocketMQ List Consumer Groups
        call: rest-consumergroups.listconsumergroups
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createconsumergroup
        description: Apache RocketMQ Create Consumer Group
        call: rest-consumergroups.createconsumergroup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: rest-consumergroups-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache RocketMQ REST API — ConsumerGroups. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-rocketmq-list-consumer-groups
      description: Apache RocketMQ List Consumer Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: rest-consumergroups.listconsumergroups
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-rocketmq-create-consumer-group
      description: Apache RocketMQ Create Consumer Group
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: rest-consumergroups.createconsumergroup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.