oci_kafka_update_topic_config
Update Kafka topic configuration settings by specifying key-value pairs for properties like retention.ms or cleanup.policy.
Instructions
Update configuration settings for a Kafka topic.
Requires --allow-writes to be enabled.
Args: topic_name: Name of the topic to update. configs: Dictionary of config key-value pairs to set (e.g., {"retention.ms": "604800000", "cleanup.policy": "compact"}).
Returns the update status and the configs that were changed.
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>",
"configs": "<configs>"
},
"name": "oci_kafka_update_topic_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configs | Yes | ||
| topic_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |