wcarlson5 commented on a change in pull request #9273: URL: https://github.com/apache/kafka/pull/9273#discussion_r489619608
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/StreamThread.java ########## @@ -570,6 +581,21 @@ void runLoop() { } } + public void initiateShutdown(){ + shutdownRequested.set(true); Review comment: can not directly call sendShutdownRequest because the consumer should only accessed from the stream thread ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org