You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Hao Li (Jira)" <ji...@apache.org> on 2022/04/11 17:16:00 UTC

[jira] [Created] (KAFKA-13817) Schedule nextTimeToEmit to system time every time instead of just once

Hao Li created KAFKA-13817:
------------------------------

             Summary: Schedule nextTimeToEmit to system time every time instead of just once
                 Key: KAFKA-13817
                 URL: https://issues.apache.org/jira/browse/KAFKA-13817
             Project: Kafka
          Issue Type: Improvement
            Reporter: Hao Li


[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, 
 # nextTimeToEmit set to 1 and step is 1
 # If next system time jumps to 100, we will always emit for next 100 records



--
This message was sent by Atlassian Jira
(v8.20.1#820001)