You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2017/03/23 04:59:41 UTC

[jira] [Commented] (BEAM-1119) Add a trigger that fires when the watermark passes timestamp

    [ https://issues.apache.org/jira/browse/BEAM-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937729#comment-15937729 ] 

Kenneth Knowles commented on BEAM-1119:
---------------------------------------

Still a cool idea. I think there might be multiple good ideas here. Unassigning from myself since I am not actually doing it and don't want to block anyone else.

> Add a trigger that fires when the watermark passes timestamp
> ------------------------------------------------------------
>
>                 Key: BEAM-1119
>                 URL: https://issues.apache.org/jira/browse/BEAM-1119
>             Project: Beam
>          Issue Type: Improvement
>          Components: beam-model, beam-model-runner-api, sdk-java-core
>            Reporter: Manu Zhang
>
> For a pane with elements and timestamps {{[(a, 1), (b, 4), (c, 5)]}}, 
> * "a" would be emitted if watermark passes 1
> * "a" and "b" would be emitted if watermark passes 4
> * all the elements would be emitted if watermark passes 5
> * if the watermark jumps from 0 to 7 then all the elements would be emitted
> * if "d" comes in late with timestamp 3, then it will be emitted if it's within the allowed lateness. 
> This usually means the trigger fires in the middle of a window and is useful when firing at the end of window misses the latency requirement.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)