kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vahidhashemian <...@git.apache.org>
Subject [GitHub] kafka pull request #1868: MINOR: Improve output format of `kafka_reassign_pa...
Date Fri, 16 Sep 2016 20:25:13 GMT
GitHub user vahidhashemian opened a pull request:

    https://github.com/apache/kafka/pull/1868

    MINOR: Improve output format of `kafka_reassign_partitions.sh` tool

    The current output for the `--generate` option looks like this
    ```
    Current partition replica assignment
    
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[0]}]}
    Proposed partition reassignment configuration
    
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[1]}]}
    ```
    
    This PR simply changes it to
    ```
    Current partition replica assignment
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[0]}]}
    
    Proposed partition reassignment configuration
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[1]}]}
    ```
    
    to make it more readable.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vahidhashemian/kafka minor/improve_output_format_of_reassign_partitions

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1868.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1868
    
----
commit 8816df4b7d48a6fae41563f6c0195eb54713f2b0
Author: Vahid Hashemian <vahidhashemian@us.ibm.com>
Date:   2016-09-16T20:20:33Z

    MINOR: Improve output format of `kafka_reassign_partitions.sh` tool
    
    The current output for the --generate option looks like this
    ```
    Current partition replica assignment
    
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[0]}]}
    Proposed partition reassignment configuration
    
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[1]}]}
    ```
    
    This PR simply changes it to
    ```
    Current partition replica assignment
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[0]}]}
    
    Proposed partition reassignment configuration
    {"version":1,"partitions":[{"topic":"t1","partition":0,"replicas":[1]}]}
    ```
    
    to make it more readable.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message