You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/29 20:53:00 UTC

[jira] [Work logged] (BEAM-12686) Support self-managed relative timers

     [ https://issues.apache.org/jira/browse/BEAM-12686?focusedWorklogId=631343&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-631343 ]

ASF GitHub Bot logged work on BEAM-12686:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/21 20:52
            Start Date: 29/Jul/21 20:52
    Worklog Time Spent: 10m 
      Work Description: reuvenlax opened a new pull request #15247:
URL: https://github.com/apache/beam/pull/15247


   


-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 631343)
    Remaining Estimate: 0h
            Time Spent: 10m

> Support self-managed relative timers
> ------------------------------------
>
>                 Key: BEAM-12686
>                 URL: https://issues.apache.org/jira/browse/BEAM-12686
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Reuven Lax
>            Priority: P2
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Relative timers can be set today using Timer.offset().setRelative(). However there are use cases in which a DoFn needs to maintain the timer timestamp in state and use this as the relative offset (e.g. so it can later update just the output timestamp without modifying the fire timestamp). This is impossible today for several reasons
>    - Processing-time timers disallow set(), only setRelative() is allowed.
>    - There's no way of knowing what the base value for setRelative is. Using the system-provided base value is important as otherwise tests using TestStream will not work correctly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)