ncloud_datastream_create_topic
Creates a new Data Stream topic with required name prefix. Supports dry run to preview, configurable partitions, description, and message retention.
Instructions
Create a new topic on the Data Stream service. Topic name must include the account prefix (use get_topic_prefix first). Use dryRun=true to preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Topic name including prefix (e.g. h4j6l-mytopic). Max 200 chars, lowercase+numbers+hyphen | |
| dryRun | No | If true, preview without creating | |
| partitions | No | Number of partitions 1~16 (default: 1) | |
| description | No | Topic description (max 200 chars) | |
| retentionMs | No | Message retention in ms (default: 86400000 = 24h) |