ccloud kafka topic create


Create a Kafka topic.

ccloud kafka topic create <topic> [flags]


--cluster string        Kafka cluster ID.
--partitions int32      Number of topic partitions. (default 6)
--config strings        A comma-separated list of topics. Configuration ('key=value') overrides for the topic being created.
--link string           The name of the cluster link the topic is associated with, if mirrored.
--mirror-topic string   The name of the topic over the cluster link to mirror.
--dry-run               Run the command without committing changes to Kafka.
--if-not-exists         Exit gracefully if topic already exists.

Global Flags

-h, --help            Show help for this command.
-v, --verbose count   Increase verbosity (-v for warn, -vv for info, -vvv for debug, -vvvv for trace).


Create a topic named my_topic with default options.

ccloud kafka topic create my_topic

See Also