lucasbru opened a new pull request, #12749: URL: https://github.com/apache/kafka/pull/12749
StreamThread in state PARTITIONS_ASSIGNED was running in a busy loop until restoration is finished, stealing CPU cycles from restoration and other StreamThreads on the machine. Added unit test to make sure the StreamThread uses poll_time when state updater is enabled, and we are in state PARTITIONS_ASSIGNED. ### Committer Checklist (excluded from commit message) - [x] Verify design and implementation - [x] Verify test coverage and CI build status - [x] 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. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org