Description
Currently, `KafkaStreams.cleanup` cleans up all the task-level directories and the global directory. However it doesn't clean up the enclosing state store directory, though streams does create this directory when it initializes the state for the streams app. Feels like it should remove this directory when it cleans up.
We notice this in ksql quite often, since every new query is a new streams app. Over time, we see lots of state store directories left around for old queries.
Attachments
Issue Links
- links to