GitHub user scholzj opened a pull request:
https://github.com/apache/kafka/pull/3920
KAFKA5940: Throw exception if the JSON file is invalid
Throw an exception when the JSON file with topics/partitions and offsets is
incorrect (= when Json.parseFull(...) returns None).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/scholzj/kafka KAFKA-5940
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3920.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 #3920
----
commit 870167e1d33710e129506621578e019634510bc9
Author: Jakub Scholz <[email protected]>
Date: 2017-09-20T11:00:45Z
Throw exception if the JSON file is invalid
----
---