oci_kafka_create_topic
Create a Kafka topic in OCI Streaming with customizable partitions and replication factor.
Instructions
Create a new Kafka topic.
Requires --allow-writes to be enabled.
Args: topic_name: Name for the new topic. num_partitions: Number of partitions (default: 6). replication_factor: Replication factor (default: 3).
Returns the creation status and topic details.
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": "oci_kafka_create_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_name | Yes | ||
| num_partitions | No | ||
| replication_factor | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |