confluent kafka topic update

Description

Update a Kafka topic.

confluent kafka topic update <topic> [flags]

Flags

    --config strings       A comma-separated list of "key=value" pairs, or path to a configuration file containing a newline-separated list of "key=value" pairs.
    --dry-run              Run the command without committing changes.
    --cluster string       Kafka cluster ID.
    --context string       CLI context name.
    --environment string   Environment ID.
-o, --output string        Specify the output format as "human", "json", or "yaml". (default "human")

Global Flags

-h, --help            Show help for this command.
    --unsafe-trace    Equivalent to -vvvv, but also log HTTP requests and responses which might contain plaintext secrets.
-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 3 days (259200000 milliseconds).

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

See Also