hachikuji commented on PR #16686:
URL: https://github.com/apache/kafka/pull/16686#issuecomment-2405955274

   Is the premise of this PR accurate? I think all bets are off if `close()` is 
interrupted. We should just clean up resources and throw. What I would expect 
is `close()` sends a message to the background thread to initiate shutdown 
(which should trigger an immediate LeaveGroup if we're in the right state). 
Then it should block for the timeout and await completion. At the end of the 
timeout (or if interrupted), it should tell the background thread to shutdown 
now.


-- 
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

Reply via email to