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

Schedule nextTimeToEmit to system time every time instead of just once

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.5.0
    • streams

    Description

      https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/kstream/internals/KStreamKStreamJoin.java#L229-L231.

       

      If this is just scheduled once, this can trigger emit every time if system time jumps a lot suddenly.

       

      For example, 

      1. nextTimeToEmit set to 1 and step is 1
      2. If next system time jumps to 100, we will always emit for next 100 records

      Attachments

        Issue Links

          Activity

            People

              qingwei91 Lim Qing Wei
              lihaosky Hao Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: