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

Disk space is not released after Kafka clears data due to retention settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • core
    • CentOS 7.7

    Description

      We defined retention time on topics for 15 minutes. It looks like Kafka is deleting the messages as configured however the disk space is not restored. "df" output shows 30G for kafka-logs instead of the real size which is supposed to be 1Gb. 

       {{/usr/sbin/lsof | grep deleted }}

      output shows a bunch of files under kafka-logs that are deleted but they are still consuming space.

      Is this a known issue? Is there a setting that I can apply to kafka broker server?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ttrading Arda Savran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: