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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10.2.1
    • Fix Version/s: None
    • Component/s: config, log
    • Labels:
      None
    • Environment:
      CentOS 7
    • Flags:
      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

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

              Dates

              • Created:
                Updated: