ccloud topic create

Description

Produce to a topic.

Usage

ccloud [(--config-dir <configDir> | -c <configDir>)] [(--verbose | -v)]
       topic create [--config <config>] [--partitions <partitions>]
       [--replication-factor <replicationFactor>] [--] <topicName>

Tip

For usage information, enter ccloud help topic.

Options

Name, shorthand Default Description
--config <config>   A comma-separated listed of topic configuration (key=value) overrides for the topic being modified.
--partitions <partitions>   Number of topic partitions. The default value is 12.
--replication-factor <replicationFactor>   The replication factor. The default value is 3.
--verbose, -v   Detailed output of a command.

Positional arguments

Name, shorthand Default Description
<configDir>   The path to the configuration directory.
<partitions>   The number of partitions.
<replicationFactor>   The number of replicas.

Example

Create a topic named my_topic with default options.

ccloud topic create my_topic