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/13 00:34:04 UTC

[jira] [Created] (BEAM-1696) Allow explicit output time for processing time timers

Kenneth Knowles created BEAM-1696:
-------------------------------------

             Summary: Allow explicit output time for processing time timers
                 Key: BEAM-1696
                 URL: https://issues.apache.org/jira/browse/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
(v6.3.15#6346)