create_consumer_group
Define and configure consumer groups in the APISIX-MCP server by specifying an ID, labels, plugins, and a description to manage API traffic effectively.
Instructions
Create a consumer group
Input Schema
Name | Required | Description | Default |
---|---|---|---|
consumerGroup | Yes | consumer group configuration object | |
id | No | consumer group ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"consumerGroup": {
"additionalProperties": true,
"description": "consumer group configuration object",
"properties": {
"desc": {
"description": "consumer group description",
"type": "string"
},
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "consumer group labels",
"type": "object"
},
"plugins": {
"additionalProperties": true,
"description": "consumer group plugins",
"properties": {
"_meta": {
"additionalProperties": false,
"properties": {
"disable": {
"default": false,
"description": "control whether the plugin is enabled",
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"id": {
"description": "consumer group ID",
"type": "string"
}
},
"required": [
"consumerGroup"
],
"type": "object"
}