laraschmidt commented on pull request #15275:
URL: https://github.com/apache/beam/pull/15275#issuecomment-1007641545


   I'm trying to page this back in. But if I remember correctly, the first 
element holds the watermark back until all not-late second elements would have 
appeared. So we don't actually need to hold it backwards. It's just the 
processElement that puts out older elements.
   
   Here's the relevant code for the timer which are not negative:
         if (elementAffectsWatermarkHolds) {
           addTimer(watermarkHolds, 
ts.plus(thisCollectionValidFor)).withOutputTimestamp(ts);


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to