Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10585

Kafka Streams should clean up the state store directory from cleanup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • streams

    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

          Activity

            People

              dongjin Dongjin Lee
              rohanpd Rohan Desai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: