mirror of https://github.com/apache/kafka.git
KAFKA-5508; Documentation for altering topics
Operations documentation should guide user to employ `kafka-configs.sh` to add/remove configs for a topic. Author: huxihx <huxi_2b@hotmail.com> Reviewers: Damian Guy <damian.guy@gmail.com> Closes #3429 from huxihx/KAFKA-5508_Doc_for_altering_topics
This commit is contained in:
parent
9078554232
commit
6d203361a0
|
|
@ -52,11 +52,11 @@
|
|||
<p>
|
||||
To add configs:
|
||||
<pre class="brush: bash;">
|
||||
> bin/kafka-topics.sh --zookeeper zk_host:port/chroot --alter --topic my_topic_name --config x=y
|
||||
> bin/kafka-configs.sh --zookeeper zk_host:port/chroot --entity-type topics --entity-name my_topic_name --alter --add-config x=y
|
||||
</pre>
|
||||
To remove a config:
|
||||
<pre class="brush: bash;">
|
||||
> bin/kafka-topics.sh --zookeeper zk_host:port/chroot --alter --topic my_topic_name --delete-config x
|
||||
> bin/kafka-configs.sh --zookeeper zk_host:port/chroot --entity-type topics --entity-name my_topic_name --alter --delete-config x
|
||||
</pre>
|
||||
And finally deleting a topic:
|
||||
<pre class="brush: bash;">
|
||||
|
|
|
|||
Loading…
Reference in New Issue