ableegoldman commented on a change in pull request #10387: URL: https://github.com/apache/kafka/pull/10387#discussion_r600875808
########## File path: streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java ########## @@ -492,22 +492,18 @@ private void handleStreamsUncaughtException(final Throwable throwable, closeToError(); break; case SHUTDOWN_APPLICATION: + if (getNumLiveStreamThreads() <= 1) { Review comment: This PR LGTM but can you add a quick test for the case of a global-only topology with injected error + SHUTDOWN_APPLICATION handler? Just want to make sure nothing weird happens when you try to start up a StreamThread with no topology -- 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