kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damian...@apache.org
Subject kafka git commit: KAFKA-5508; Documentation for altering topics
Date Thu, 06 Jul 2017 09:10:07 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 907855423 -> 6d203361a


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


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/6d203361
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/6d203361
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/6d203361

Branch: refs/heads/trunk
Commit: 6d203361a04380d8fb0f23c0bfcb37811eccb590
Parents: 9078554
Author: huxihx <huxi_2b@hotmail.com>
Authored: Thu Jul 6 10:10:03 2017 +0100
Committer: Damian Guy <damian.guy@gmail.com>
Committed: Thu Jul 6 10:10:03 2017 +0100

----------------------------------------------------------------------
 docs/ops.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/6d203361/docs/ops.html
----------------------------------------------------------------------
diff --git a/docs/ops.html b/docs/ops.html
index ca0cfb1..85a6e10 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -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;">


Mime
View raw message