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

log.retention.hours, retention.ms not working in segments deletion for kafka topic

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.10.2.1
    • None
    • config, log
    • None
    • CentOS 7
    • Important

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Vinayzxzx VinayKumar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: