egulu CLI reference / egulu stream-topics
egulu stream-topics create
POST /v1/projects/{project}/locations/{location}/streamClusters/{cluster}/topics
egulu stream-topics create <NAME> [options]
API operation
StreamTopics_create: POST /v1/projects/{project}/locations/{location}/streamClusters/{cluster}/topics (streams module)
Arguments
| Name | Required | Description |
|---|---|---|
NAME | yes | the topicId |
Options
| Option | Takes | Required | Description |
|---|---|---|---|
--cleanup-policy | value | no | cleanupPolicy |
--cluster | value | yes | cluster |
--display-name | value | no | displayName |
--location | value | yes | location |
--max-message-bytes | value | no | maxMessageBytes |
--min-insync-replicas | value | no | minInsyncReplicas |
--partitions | value | no | partitions |
--project | value | yes | project |
--replication-factor | value | no | replicationFactor |
--retention-bytes | value | no | retentionBytes |
--retention-ms | value | no | retentionMs |
--topic-name | value | no | topicName |
--validate-only | value | no | validateOnly |
The global options apply too.