kafka_create_topic
Create a new topic in a Kafka cluster, with options to set the number of partitions and replication factor. Not available in read-only mode.
Instructions
在 Kafka 集群中创建新主题(支持指定分区数与副本因子;只读模式下不可用)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic_name": "<topic_name>"
},
"name": "kafka_create_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | No | ||
| partitions | No | ||
| topic_name | Yes | ||
| replication_factor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||