confluent kafka topic update

説明

Kafka のトピックをアップデートします。

confluent kafka topic update <topic> [flags]

フラグ

--config strings       A comma-separated list of topics. Configuration ('key=value') overrides for the topic being created.
--dry-run              Execute request without committing changes to Kafka.
--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).

保持期間が 3 日(259200000 ミリ秒)となるように my_topic トピックを変更します。

confluent kafka topic update my_topic --config="retention.ms=259200000"

関連情報