[egulu CLI reference](../index.md) / [egulu stream-topics](index.md)

# egulu stream-topics create

POST /v1/projects/{project}/locations/{location}/streamClusters/{cluster}/topics

```sh
egulu stream-topics create <NAME> [options]
```

## API operation

[StreamTopics_create](../../api/streams/StreamTopics_create.md): `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](../index.md) apply too.
