GitHub user uncleGen reopened a pull request:
https://github.com/apache/kafka/pull/3897
KAFKA-5929: Save pre-assignment to file to avoid too long text to display
when do topic partition reassign
When do partition reassign
- before pr
Pre-assignment will be printed directly. It is not friendly when the text
is too long.
- after pr
Pre-assignment will still be printed directly, but will be save to a file
at the same time, naming with suffix ".rollback" of "reassignment-json-file".
For example:
```
./kafka-reassign-partitions.sh --reassignment-json-file test.json ...
```
then we may get a file **test.json.rollback**
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/uncleGen/kafka KAFKA-5929
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3897.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 #3897
----
commit b5806c9f09459e473d6d1eb66c46a546c526d9c7
Author: uncleGen <[email protected]>
Date: 2017-09-19T07:40:09Z
Save pre-assignment to file to avoid too long text to display when do topic
partition reassign
commit 19d3f84a237c3a685d805f0974282734fcc8e655
Author: uncleGen <[email protected]>
Date: 2017-09-19T08:23:50Z
findbugs fix
----
---