GitHub user tedyu opened a pull request:
https://github.com/apache/kafka/pull/4052
KAFKA-6046 DeleteRecordsRequest to a non-leader should give proper error
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tedyu/kafka trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4052.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 #4052
----
commit 4f25a3e9ef5cc079ca1ea549787d75f7ca6f8940
Author: tedyu <[email protected]>
Date: 2017-10-10T17:17:13Z
KAFKA-6046 DeleteRecordsRequest to a non-leader should give proper error
----
---