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:
huxihx 2017-07-06 10:10:03 +01:00 committed by Damian Guy
parent 9078554232
commit 6d203361a0
1 changed files with 2 additions and 2 deletions

View File

@ -52,11 +52,11 @@
<p>
To add configs:
<pre class="brush: bash;">
&gt; bin/kafka-topics.sh --zookeeper zk_host:port/chroot --alter --topic my_topic_name --config x=y
&gt; 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;">
&gt; bin/kafka-topics.sh --zookeeper zk_host:port/chroot --alter --topic my_topic_name --delete-config x
&gt; 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;">