You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Amit Sela (JIRA)" <ji...@apache.org> on 2017/03/09 16:25:38 UTC

[jira] [Resolved] (BEAM-1562) Use a "signal" to stop streaming tests as they finish.

     [ https://issues.apache.org/jira/browse/BEAM-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Sela resolved BEAM-1562.
-----------------------------
       Resolution: Fixed
    Fix Version/s: First stable release

> Use a "signal" to stop streaming tests as they finish.
> ------------------------------------------------------
>
>                 Key: BEAM-1562
>                 URL: https://issues.apache.org/jira/browse/BEAM-1562
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-spark
>            Reporter: Amit Sela
>            Assignee: Amit Sela
>             Fix For: First stable release
>
>
> Streaming tests use a timeout that has to take a large enough buffer to avoid slow runtimes stopping before test completes.
> We can introduce a "poison pill" based on an {{EndOfStream}} element that would be counted in a Metrics/Aggregator to know all data was processed.
> Another option would be to follow the slowest WM and stop once it hits end-of-time.
> This requires the Spark runner to stop blocking the execution of a streaming pipeline until it's complete - which is something relevant to {{PipelineResult}} (re)design that is being discussed in BEAM-849   



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)