You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "VinayKumar (JIRA)" <ji...@apache.org> on 2017/12/04 03:16:01 UTC

[jira] [Created] (KAFKA-6305) log.retention.hours, retention.ms not working in segments deletion for kafka topic

VinayKumar created KAFKA-6305:
---------------------------------

             Summary: log.retention.hours, retention.ms not working in segments deletion for kafka topic
                 Key: KAFKA-6305
                 URL: https://issues.apache.org/jira/browse/KAFKA-6305
             Project: Kafka
          Issue Type: Bug
          Components: config, log
    Affects Versions: 0.10.2.1
         Environment: CentOS 7 
            Reporter: VinayKumar


I'm using Kafka 0.10.2.1 version, and have log.retention.hours set to 24hrs(log.retention.hours=24). But the topic partition segments are not deleted as per this retention, and segments more than 24hr are still there in the partition logs.

Further, I updated the retention.ms to 18 hrs(retention.ms=64800000) for the topic, but still segments more than this retention period are there in the partition logs.
Can someone please help on this problem. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)