You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (Jira)" <ji...@apache.org> on 2021/06/11 20:50:00 UTC

[jira] [Resolved] (KAFKA-10585) Kafka Streams should clean up the state store directory from cleanup

     [ https://issues.apache.org/jira/browse/KAFKA-10585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guozhang Wang resolved KAFKA-10585.
-----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

> Kafka Streams should clean up the state store directory from cleanup
> --------------------------------------------------------------------
>
>                 Key: KAFKA-10585
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10585
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Rohan Desai
>            Assignee: Dongjin Lee
>            Priority: Minor
>              Labels: newbie++
>             Fix For: 3.0.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)