Apache Kafka · Capability

Confluent Kafka REST Proxy API — Consumer Group

Confluent Kafka REST Proxy API — Consumer Group. 2 operations. Lead operation: Apache kafka List Consumer Groups. Self-contained Naftiko capability covering one Apache Kafka business surface.

Run with Naftiko Apache KafkaConsumer Group

What You Can Do

GET
Listconsumergroups — Apache kafka List Consumer Groups
/v1/clusters/{cluster-id}/consumer-groups
GET
Getconsumergroup — Apache kafka Get Consumer Group
/v1/clusters/{cluster-id}/consumer-groups/{consumer-group-id}

MCP Tools

apache-kafka-list-consumer-groups

Apache kafka List Consumer Groups

read-only idempotent
apache-kafka-get-consumer-group

Apache kafka Get Consumer Group

read-only idempotent

Capability Spec

kafka-rest-proxy-consumer-group.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Confluent Kafka REST Proxy API — Consumer Group
  description: 'Confluent Kafka REST Proxy API — Consumer Group. 2 operations. Lead operation: Apache kafka List Consumer
    Groups. Self-contained Naftiko capability covering one Apache Kafka business surface.'
  tags:
  - Apache Kafka
  - Consumer Group
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_KAFKA_API_KEY: APACHE_KAFKA_API_KEY
capability:
  consumes:
  - type: http
    namespace: kafka-rest-proxy-consumer-group
    baseUri: http://localhost:8082
    description: Confluent Kafka REST Proxy API — Consumer Group business capability. Self-contained, no shared references.
    resources:
    - name: clusters-cluster_id-consumer-groups
      path: /clusters/{cluster_id}/consumer-groups
      operations:
      - name: listconsumergroups
        method: GET
        description: Apache kafka List Consumer Groups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cluster_id
          in: path
          type: string
          required: true
    - name: clusters-cluster_id-consumer-groups-consumer_group_id
      path: /clusters/{cluster_id}/consumer-groups/{consumer_group_id}
      operations:
      - name: getconsumergroup
        method: GET
        description: Apache kafka Get Consumer Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cluster_id
          in: path
          type: string
          required: true
        - name: consumer_group_id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: kafka-rest-proxy-consumer-group-rest
    port: 8080
    description: REST adapter for Confluent Kafka REST Proxy API — Consumer Group. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/clusters/{cluster-id}/consumer-groups
      name: clusters-cluster-id-consumer-groups
      description: REST surface for clusters-cluster_id-consumer-groups.
      operations:
      - method: GET
        name: listconsumergroups
        description: Apache kafka List Consumer Groups
        call: kafka-rest-proxy-consumer-group.listconsumergroups
        with:
          cluster_id: rest.cluster_id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/clusters/{cluster-id}/consumer-groups/{consumer-group-id}
      name: clusters-cluster-id-consumer-groups-consumer-group-id
      description: REST surface for clusters-cluster_id-consumer-groups-consumer_group_id.
      operations:
      - method: GET
        name: getconsumergroup
        description: Apache kafka Get Consumer Group
        call: kafka-rest-proxy-consumer-group.getconsumergroup
        with:
          cluster_id: rest.cluster_id
          consumer_group_id: rest.consumer_group_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kafka-rest-proxy-consumer-group-mcp
    port: 9090
    transport: http
    description: MCP adapter for Confluent Kafka REST Proxy API — Consumer Group. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: apache-kafka-list-consumer-groups
      description: Apache kafka List Consumer Groups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kafka-rest-proxy-consumer-group.listconsumergroups
      with:
        cluster_id: tools.cluster_id
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-kafka-get-consumer-group
      description: Apache kafka Get Consumer Group
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kafka-rest-proxy-consumer-group.getconsumergroup
      with:
        cluster_id: tools.cluster_id
        consumer_group_id: tools.consumer_group_id
      outputParameters:
      - type: object
        mapping: $.