You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 16:20:19 UTC

[GitHub] [beam] kennknowles opened a new issue, #18091: Support for testing how soon output is emitted

kennknowles opened a new issue, #18091:
URL: https://github.com/apache/beam/issues/18091

   I ran into this issue when testing Splittable DoFn. My intention is, it should behave exactly like a DoFn - i.e. emit output immediately when it receives input, regardless of the windowing/triggering strategy of the input (even though SDF has a GBK internally).
   
   However, currently the SDK doesn't have facilities for testing that. TestStream allows controlling the timing of the input, but there's nothing to capture timing of the output. Moreover, timing of the output is unspecified by the model because triggers technically only enable firing, but do not force it (i.e. they are a lower bound on when output will be emitted).
   
   I'm not sure what's the best way to address this. E.g., perhaps, PaneInfo could include a field "since when was this pane enabled to fire" (regardless of when it really fired)?
   
   Imported from Jira [BEAM-988](https://issues.apache.org/jira/browse/BEAM-988). Original Jira may contain additional context.
   Reported by: jkff.


-- 
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.apache.org

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