chia7712 commented on PR #16686: URL: https://github.com/apache/kafka/pull/16686#issuecomment-2429280903
> In regard to the interrupt flag. As a user, I would expect one of two things if the interrupt flag is set when close() is called. close() returns immediately without blocking and preserves the interrupt flag. close() raises InterruptException as soon as it attempts any operation which would block. It seems to me those statements are equal to @kirktrue https://github.com/apache/kafka/pull/16686#issuecomment-2421009721 + https://github.com/apache/kafka/pull/16686#issuecomment-2423208911. Maybe this PR can keep moving forward? I'd love to discuss the code handling the coordination between the application thread and background thread :smile: -- 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