GitHub user mjsax opened a pull request: https://github.com/apache/kafka/pull/3948
KAFKA-4593: Don't throw IllegalStateException and die on task migration You can merge this pull request into a Git repository by running: $ git pull https://github.com/mjsax/kafka kafka-4593-illegal-state-exception-in-restore Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3948.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 #3948 ---- commit 7001cf72781b71459f3dbf852c529f237edf804a Author: Matthias J. Sax <matth...@confluent.io> Date: 2017-09-22T20:12:33Z KAFKA-4593: Don't throw IllegalStateException and die on task migration ---- ---