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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| configs | Yes | ||
| topic_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |