You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by gw...@apache.org on 2019/05/10 05:16:27 UTC

[kafka] branch trunk updated: MINOR: docs typo in '--zookeeper myhost:2181--execute'

This is an automated email from the ASF dual-hosted git repository.

gwenshap pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 96096ce  MINOR: docs typo in '--zookeeper myhost:2181--execute'
96096ce is described below

commit 96096cebe1ec77b3f7e0c60cf9f4ce575adccd67
Author: opera443399 <pc...@pcswo.com>
AuthorDate: Thu May 9 22:16:13 2019 -0700

    MINOR: docs typo in '--zookeeper myhost:2181--execute'
    
    this PR will fix a typo related to docs:
    http://kafka.apache.org/21/documentation.html#rep-throttle
    
    ```bash
    $ bin/kafka-reassign-partitions.sh --zookeeper myhost:2181--execute --reassignment-json-file bigger-cluster.json —throttle 50000000
    ```
    
    I think `myhost:2181` should be `localhost:2181` and followed by a `space`
    
    Author: opera443399 <pc...@pcswo.com>
    
    Reviewers: Gwen Shapira
    
    Closes #6704 from opera443399/docs-ops-typo
---
 docs/ops.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/ops.html b/docs/ops.html
index 600b500..b4370e1 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -453,7 +453,7 @@
   There are two interfaces that can be used to engage a throttle. The simplest, and safest, is to apply a throttle when invoking the kafka-reassign-partitions.sh, but kafka-configs.sh can also be used to view and alter the throttle values directly.
   <p></p>
   So for example, if you were to execute a rebalance, with the below command, it would move partitions at no more than 50MB/s.
-  <pre class="brush: bash;">$ bin/kafka-reassign-partitions.sh --zookeeper myhost:2181--execute --reassignment-json-file bigger-cluster.json —throttle 50000000</pre>
+  <pre class="brush: bash;">$ bin/kafka-reassign-partitions.sh --zookeeper localhost:2181 --execute --reassignment-json-file bigger-cluster.json —throttle 50000000</pre>
   When you execute this script you will see the throttle engage:
   <pre class="brush: bash;">
   The throttle limit was set to 50000000 B/s