ccloud kafka topic create

Description

Create a Kafka topic.

ccloud kafka topic create <topic> [flags]

Flags

    --cluster string      Kafka cluster ID.
    --partitions uint32   Number of topic partitions. (default 6)
    --config strings      A comma-separated list of topic configuration ('key=value') overrides for the topic being created.
    --dry-run             Run the command without committing changes to Kafka.
-h, --help                help for create

Global Flags

-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).

Examples

Create a topic named ‘my_topic’ with default options.

ccloud kafka topic create my_topic

See Also