GitHub user guozhangwang opened a pull request:
https://github.com/apache/kafka/pull/4096
HOTFIX: Poll with zero milliseconds during restoration phase
1. After the poll call, re-check if the state has been changed or not; if
yes, initialize the tasks again.
2. Cherry-pick the flaky test fix from #4095
3. Minor log4j improvements.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/guozhangwang/kafka KHotfix-restore-only
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4096.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 #4096
----
----
---