Apache Kafka · Capability

Confluent Kafka REST Proxy API — ACL

Confluent Kafka REST Proxy API — ACL. 3 operations. Lead operation: Apache kafka Search ACLs. Self-contained Naftiko capability covering one Apache Kafka business surface.

Run with Naftiko Apache KafkaACL

What You Can Do

GET
Searchacls — Apache kafka Search ACLs
/v1/clusters/{cluster-id}/acls
POST
Createacls — Apache kafka Create ACLs
/v1/clusters/{cluster-id}/acls
DELETE
Deleteacls — Apache kafka Delete ACLs
/v1/clusters/{cluster-id}/acls

MCP Tools

apache-kafka-search-acls

Apache kafka Search ACLs

read-only idempotent
apache-kafka-create-acls

Apache kafka Create ACLs

apache-kafka-delete-acls

Apache kafka Delete ACLs

idempotent

Capability Spec

kafka-rest-proxy-acl.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Confluent Kafka REST Proxy API — ACL
  description: 'Confluent Kafka REST Proxy API — ACL. 3 operations. Lead operation: Apache kafka Search ACLs. Self-contained
    Naftiko capability covering one Apache Kafka business surface.'
  tags:
  - Apache Kafka
  - ACL
  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-acl
    baseUri: http://localhost:8082
    description: Confluent Kafka REST Proxy API — ACL business capability. Self-contained, no shared references.
    resources:
    - name: clusters-cluster_id-acls
      path: /clusters/{cluster_id}/acls
      operations:
      - name: searchacls
        method: GET
        description: Apache kafka Search ACLs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cluster_id
          in: path
          type: string
          required: true
        - name: resource_type
          in: query
          type: string
        - name: pattern_type
          in: query
          type: string
      - name: createacls
        method: POST
        description: Apache kafka Create ACLs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cluster_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteacls
        method: DELETE
        description: Apache kafka Delete ACLs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: cluster_id
          in: path
          type: string
          required: true
  exposes:
  - type: rest
    namespace: kafka-rest-proxy-acl-rest
    port: 8080
    description: REST adapter for Confluent Kafka REST Proxy API — ACL. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/clusters/{cluster-id}/acls
      name: clusters-cluster-id-acls
      description: REST surface for clusters-cluster_id-acls.
      operations:
      - method: GET
        name: searchacls
        description: Apache kafka Search ACLs
        call: kafka-rest-proxy-acl.searchacls
        with:
          cluster_id: rest.cluster_id
          resource_type: rest.resource_type
          pattern_type: rest.pattern_type
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createacls
        description: Apache kafka Create ACLs
        call: kafka-rest-proxy-acl.createacls
        with:
          cluster_id: rest.cluster_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteacls
        description: Apache kafka Delete ACLs
        call: kafka-rest-proxy-acl.deleteacls
        with:
          cluster_id: rest.cluster_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: kafka-rest-proxy-acl-mcp
    port: 9090
    transport: http
    description: MCP adapter for Confluent Kafka REST Proxy API — ACL. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: apache-kafka-search-acls
      description: Apache kafka Search ACLs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: kafka-rest-proxy-acl.searchacls
      with:
        cluster_id: tools.cluster_id
        resource_type: tools.resource_type
        pattern_type: tools.pattern_type
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-kafka-create-acls
      description: Apache kafka Create ACLs
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: kafka-rest-proxy-acl.createacls
      with:
        cluster_id: tools.cluster_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-kafka-delete-acls
      description: Apache kafka Delete ACLs
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: kafka-rest-proxy-acl.deleteacls
      with:
        cluster_id: tools.cluster_id
      outputParameters:
      - type: object
        mapping: $.