chia7712 commented on PR #16686: URL: https://github.com/apache/kafka/pull/16686#issuecomment-2426758814
> We have actually this in the documentation. I was not aware of it. It clearly state that relying on interrupts is discouraged because it may cause a clean shutdown of the consumer to be aborted. Based on this, it seems to me that we do not really need to care about it. The documentation states that `Interrupts are mainly supported for those cases where using {@link #wakeup()} is impossible, e.g., when a consumer thread is managed by code that is unaware of the Kafka client` which aligns with the use case you mentioned in [this comment](https://github.com/apache/kafka/pull/16686#issuecomment-2413298774), right? -- 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