db_create_kafka_topic
Create a Kafka topic on a Vultr Kafka database using the database ID and topic name. Configure partitions, replication, and retention limits for the new topic.
Instructions
Create a Kafka topic (Kafka databases only).
Args: database_id: The Kafka database ID or label name: Topic name partitions: Number of partitions replication: Replication factor retention_hours: Retention time in hours retention_bytes: Retention size in bytes
Returns: Created topic information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| partitions | No | ||
| database_id | Yes | ||
| replication | No | ||
| retention_bytes | No | ||
| retention_hours | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||