oci_kafka_create_cluster
Create a new OCI Apache Kafka cluster with configurable broker count, storage, and Kafka version to meet production or development needs.
Instructions
Create a new OCI Streaming with Apache Kafka cluster.
Requires --allow-writes. This is a HIGH RISK operation that requires confirmation. The operation is asynchronous — use oci_kafka_get_work_request to track progress.
Args: display_name: Human-readable name for the cluster. compartment_id: OCI compartment OCID where the cluster will be created. subnet_id: OCI subnet OCID for the cluster's private network. broker_count: Number of broker nodes (default: 3). kafka_version: Kafka version to deploy (default: 3.6.0). cluster_type: PRODUCTION or DEVELOPMENT (default: PRODUCTION). ocpu_count: OCPUs per broker node (default: 2). storage_size_in_gbs: Storage per broker in GB (default: 50). cluster_config_id: Optional OCID of a cluster configuration to apply.
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": {
"display_name": "<display_name>",
"compartment_id": "<compartment_id>",
"subnet_id": "<subnet_id>"
},
"name": "oci_kafka_create_cluster"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subnet_id | Yes | ||
| ocpu_count | No | ||
| broker_count | No | ||
| cluster_type | No | PRODUCTION | |
| display_name | Yes | ||
| kafka_version | No | 3.6.0 | |
| compartment_id | Yes | ||
| cluster_config_id | No | ||
| storage_size_in_gbs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |