You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Arda Savran (Jira)" <ji...@apache.org> on 2020/01/07 02:15:00 UTC
[jira] [Created] (KAFKA-9371) Disk space is not released after
Kafka clears data due to retention settings
Arda Savran created KAFKA-9371:
----------------------------------
Summary: Disk space is not released after Kafka clears data due to retention settings
Key: KAFKA-9371
URL: https://issues.apache.org/jira/browse/KAFKA-9371
Project: Kafka
Issue Type: Bug
Components: core, streams
Affects Versions: 2.2.0
Environment: CentOS 7.7
Reporter: Arda Savran
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?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)