guozhangwang opened a new pull request #8934:
URL: https://github.com/apache/kafka/pull/8934


   The intention of using poll(0) is to not block on rebalance but still return 
some data; however, if there's no fetchable partitions then there's no point of 
polling with 0ms. What's worse, with poll(0) we may fall into a busy loop since 
we may advance the system test with too small pace.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to