ccloud kafka topic update

Description

Update a Kafka topic.

ccloud kafka topic update <topic> [flags]

Flags

    --cluster string   Kafka cluster ID.
    --config strings   A comma-separated list of topic configuration ('key=value') overrides for the topic being created.
    --dry-run          Execute request without committing changes to Kafka.
-h, --help             help for update

Global Flags

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

Examples

Modify the ‘my_topic’ topic to have a retention period of days (‘259200000’ milliseconds).

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

See Also