beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Sela (JIRA)" <>
Subject [jira] [Resolved] (BEAM-1562) Use a "signal" to stop streaming tests as they finish.
Date Thu, 09 Mar 2017 16:25:38 GMT


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:
>             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

View raw message