beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <>
Subject [jira] [Created] (BEAM-1696) Allow explicit output time for processing time timers
Date Mon, 13 Mar 2017 00:34:04 GMT
Kenneth Knowles created BEAM-1696:

             Summary: Allow explicit output time for processing time timers
                 Key: BEAM-1696
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-core
            Reporter: Kenneth Knowles
            Assignee: Kenneth Knowles

Today, a processing time timer is not associated with a particular output timestamp; instead
the user must explicitly output to the desired timestamp.

This has a few drawbacks:

 - Probably need to maintain state that indicates what the timestamp should be
 - The output watermark is not held to that timestamp

Something like {{processingTimer.set(...).withOutputTimestamp(...)}} (or perhaps some more
involved API with an {{OutputTimeFn}}-like policy attached) would work nicely, so when {{@OnTimer}}
is called the right timestamp is automatic.

This message was sent by Atlassian JIRA

View raw message