rhoas_kafka_topic_update
rhoas kafka topic update#
Update a Kafka topic
Synopsis#
Update a topic in the current Apache Kafka instance.
rhoas kafka topic update [flags]Examples#
# update the message retention period for a topic$ rhoas kafka topic update --name topic-1 --retention-ms -1
Options#
--cleanup-policy string Determines whether log messages are deleted, compacted, or both --name string Topic name --partitions string The number of partitions in the topic --retention-bytes string The maximum total size of a partition log segments before old log segments are deleted to free up space --retention-ms string The period of time in milliseconds the broker will retain a partition log before deleting itOptions inherited from parent commands#
-h, --help Show help for a command -v, --verbose Enable verbose modeSEE ALSO#
- rhoas kafka topic - Create, describe, update, list and delete topics