confluent kafka topic create

説明

Kafka のトピックを作成します。

confluent kafka topic create <topic> [flags]

フラグ

--partitions int32     Number of topic partitions. (default 6)
--config strings       A comma-separated list of configuration overrides ('key=value') for the topic being created.
--dry-run              Run the command without committing changes to Kafka.
--if-not-exists        Exit gracefully if topic already exists.
--cluster string       Kafka cluster ID.
--context string       CLI context name.
--environment string   Environment ID.

グローバルフラグ

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

デフォルトのオプションで my_topic という名前のトピックを作成します。

confluent kafka topic create my_topic

関連情報