lucasbru commented on PR #23549: URL: https://github.com/apache/kafka/pull/23549#issuecomment-6852227860
Thanks for checking all of this, the StreamThread.run() change and the tests look good to me. The extra ~500 ms on shutdown is fine, it’s the consumer close doing what it should. Yes, please file a follow-up for GlobalStreamThread, it would be good to handle it the same way. One question: if the interrupt arrives while the thread is already in completeShutdown, TaskManager.shutdown restores the flag at the end, so the consumer close after it still runs interrupted. I think that’s acceptable since it’s the rare case, but is that intended? -- 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]
