GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/3954
KAFKA-5758: Don't fail fetch request if replica is no longer a follower for a partition We log a warning instead, which is what we also do if the partition hasn't been created yet. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka kafka-5758-dont-fail-fetch-request-if-replica-is-not-follower Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3954.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 #3954 ---- commit 7e12d408619b41a37cc40f4c294d47875df312ce Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-09-25T07:33:46Z KAFKA-5758: Don't fail fetch request if replica is no longer a follower for a partition We log a warning instead, which is what we also do if the partition hasn't been created yet. ---- ---