Github user dianfu commented on the issue:

    https://github.com/apache/flink/pull/5063
  
    @fhueske  Yes, the bad performance is related to the way we generate the 
watermarks. But this is the way how punctuated watermark works. If we do not 
optimize for punctuated watermark, then are we suggesting users not to use 
punctuated watermark for unbounded over window?
    
    For the side effect `By registering timers on different timestamps, we have 
many timers that all will fire when a watermark is received.`, I think we can 
add a variable such as `lastProcessedWatermark` to record the last processed 
watermark. Then there will be no much overhead. Thoughts?


---

Reply via email to