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

Make grace period mandatory

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: In Progress
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: streams
    • Labels:

      Description

      Currently, the grace period is set to retention time if the grace period is not specified explicitly. The reason for setting the default grace period to retention time was backward compatibility. Topologies that were implemented before the introduction of the grace period, added late arriving records to a window as long as the window existed, i.e., as long as its retention time was not elapsed.

      This unintuitive default grace period has already caused confusion among users.

      For the next major release, we should consider to set the default grace period to Duration.ZERO. or to make it a mandatory parameter.

       

      KIP-633 https://cwiki.apache.org/confluence/display/KAFKA/KIP-633%3A+Drop+24+hour+default+of+grace+period+in+Streams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iekpo Israel Ekpo
                Reporter:
                cadonna Bruno Cadonna
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: