update_kafka_topic
Modify Kafka topic configurations including partitions, replication factor, and retention settings for Vultr-managed databases.
Instructions
Update a Kafka topic configuration.
Args: database_id: The Kafka database ID or label topic_name: The topic name to update partitions: New number of partitions replication: New replication factor retention_hours: New retention time in hours retention_bytes: New retention size in bytes
Returns: Updated topic information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
database_id | Yes | ||
partitions | No | ||
replication | No | ||
retention_bytes | No | ||
retention_hours | No | ||
topic_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"database_id": {
"title": "Database Id",
"type": "string"
},
"partitions": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Partitions"
},
"replication": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Replication"
},
"retention_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retention Bytes"
},
"retention_hours": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Retention Hours"
},
"topic_name": {
"title": "Topic Name",
"type": "string"
}
},
"required": [
"database_id",
"topic_name"
],
"type": "object"
}