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

Change the default value of log.message.timestamp.difference.max.ms to the same as log.retention.ms

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 0.10.1.0
    • None
    • core
    • None

    Description

      junrao brought up the following scenario:

      If users are pumping data with timestamp already passed log.retention.ms into Kafka, the messages will be appended to the log but will be immediately rolled out by log retention thread when it kicks in and the messages will be deleted.

      To avoid this produce-and-deleted scenario, we can set the default value of log.message.timestamp.difference.max.ms to be the same as log.retention.ms.

      Attachments

        Issue Links

          Activity

            People

              becket_qin Jiangjie Qin
              becket_qin Jiangjie Qin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: