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

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

                Author: ASF GitHub Bot
            Created on: 25/Oct/18 13:48
            Start Date: 25/Oct/18 13:48
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on issue #6305: [BEAM-5265] Use 
currentProcessingTime() for onTime with processing time domain
URL: https://github.com/apache/beam/pull/6305#issuecomment-433058029
 
 
   The processing time can be arbitrarily far ahead of the watermark, or behind 
it. They are independent, even though in a lot of streaming applications they 
will be near each other.
   
   So if the watermark is behind processing time, you'll get timestamps that 
are outside the window and that is forbidden. If the watermark is ahead of 
processing time (more rare and weird probably, since you would be processing 
future events) then you get dropping.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 158700)
    Time Spent: 2h 10m  (was: 2h)

> Can not test Timer with processing time domain
> ----------------------------------------------
>
>                 Key: BEAM-5265
>                 URL: https://issues.apache.org/jira/browse/BEAM-5265
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-core, runner-direct
>            Reporter: Jozef Vilcek
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> I have a stateful DoFn which has a timer on PROCESSING_TIME domain. While 
> writing tests, I noticed that it does not react to `advanceProcessingTime()` 
> on tests stream. Problem seems to be here:
> [https://github.com/apache/beam/blob/master/runners/core-java/src/main/java/org/apache/beam/runners/core/SimpleDoFnRunner.java#L260]
> I can only tell that patching this place works for direct runner tests. Not 
> sure about broader impact on other runners since it is in `runner-core`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to