naftiko: 1.0.0-alpha2 info: label: Microsoft Azure Kafka Restproxy APIs — V1consumer description: 'Microsoft Azure Kafka Restproxy APIs — V1consumer. 1 operations. Lead operation: Microsoft Azure Consume Records Using A Simple Consumer. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - V1consumer created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: kafka-restproxy-apis-v1consumer baseUri: https://clustername-kafkarest.azurehdinsight.net description: Microsoft Azure Kafka Restproxy APIs — V1consumer business capability. Self-contained, no shared references. resources: - name: v1-consumer-topics-topic-partitions-partition-offsets-offset path: /v1/consumer/topics/{topic}/partitions/{partition}/offsets/{offset} operations: - name: microsoftazureconsumerconsumetopicinpartitionwithoffset method: GET description: Microsoft Azure Consume Records Using A Simple Consumer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: topic in: path type: string description: Topic to consume the records from required: true - name: partition in: path type: integer description: Partition ID to consume the records from required: true - name: offset in: path type: integer description: Offset to start from required: true - name: count in: query type: integer description: Number of records to consume (optional). By default count is 1. It returns either count of records or 6 megabytes of data, which is smaller. exposes: - type: rest namespace: kafka-restproxy-apis-v1consumer-rest port: 8080 description: REST adapter for Microsoft Azure Kafka Restproxy APIs — V1consumer. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/consumer/topics/{topic}/partitions/{partition}/offsets/{offset} name: v1-consumer-topics-topic-partitions-partition-offsets-offset description: REST surface for v1-consumer-topics-topic-partitions-partition-offsets-offset. operations: - method: GET name: microsoftazureconsumerconsumetopicinpartitionwithoffset description: Microsoft Azure Consume Records Using A Simple Consumer call: kafka-restproxy-apis-v1consumer.microsoftazureconsumerconsumetopicinpartitionwithoffset with: topic: rest.topic partition: rest.partition offset: rest.offset count: rest.count outputParameters: - type: object mapping: $. - type: mcp namespace: kafka-restproxy-apis-v1consumer-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure Kafka Restproxy APIs — V1consumer. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-consume-records-using description: Microsoft Azure Consume Records Using A Simple Consumer hints: readOnly: true destructive: false idempotent: true call: kafka-restproxy-apis-v1consumer.microsoftazureconsumerconsumetopicinpartitionwithoffset with: topic: tools.topic partition: tools.partition offset: tools.offset count: tools.count outputParameters: - type: object mapping: $.