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

   The `AsyncKafkaConsumer#seek` uses `SubscriptionState#seekUnvalidated` which 
calls `SubscriptionState#assignedState`. If we call it in app thread, it may 
have race condition with background thread. Move 
`SubscriptionState#seekUnvalidated` to background thread to avoid concurrent 
write.
   
   ### 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