ableegoldman commented on a change in pull request #10609: URL: https://github.com/apache/kafka/pull/10609#discussion_r636557694
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/StateDirectory.java ########## @@ -411,19 +442,37 @@ private void cleanRemovedTasksCalledByCleanerThread(final long cleanupDelayMs) { } } } + maybeCleanEmptyNamedTopologyDirs(); + } + + private void maybeCleanEmptyNamedTopologyDirs() { Review comment: Yeah, we could but I don't feel there is anything to gain, and the code would only be less easy to follow imo -- 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