cadonna opened a new pull request, #12379:
URL: https://github.com/apache/kafka/pull/12379

   The call to Task#completeRestoration calls methods on the main consumer.
   The state updater thread should not access the main consumer since the
   main consumer is not thread-safe. Additionally, Task#completeRestoration
   changed the state of active tasks, but we decided to keep task life cycle
   management outside of the state updater.
   
   Task#completeRestoration should be called by the stream thread on
   restored active tasks returned by the state udpater.
   
   
   ### 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to