kafka-configs
In an environment managed by Cloudera Manager the kafka-configs tool
can be used to set, describe, or delete topic properties.
- Setting topic properties
- You can set a topic property using the
--alteroption together with the--add-configoption. For example:kafka-configs --bootstrap-server [HOST:PORT] --entity-type topics --entity-name [TOPIC] --alter --add-config [PROPERTY NAME]=[VALUE] - Describing topic properties
- You can list the configuration properties of a topic with the
--describeoption. For example:kafka-configs --bootstrap-server [HOST:PORT] --entity-type topics --entity-name [TOPIC] --describe - Deleting topic properties
- You can delete a topic property using the
--alteroption together with the--delete-configoption. For example:
