apache / apache/beam

Need an UnboundedSourceFromHell to test runner's respect of its implied contract

Open
#18,008 0 comments 0 reactions 0 assignees View on GitHub
bug P3 tests
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

UnboundedSource has pretty specific requirements of its runner (as well as its derived classes). We really need a systematic test of all of this. Inspiration is BEAM-306 which only showed up when I tried to run an actual pipeline.

Imported from Jira [BEAM-309](https://issues.apache.org/jira/browse/BEAM-309). Original Jira may contain additional context.
Reported by: mshields822.

Contributor guide

Open the contributing guide

Research direction

Start by reading the UnboundedSource runner contract described in the issue and reviewing BEAM-306 for the pipeline failure that motivated this request. Define a systematic test around those requirements, using the proposed UnboundedSourceFromHell, and consider the original BEAM-309 context; done means the runner's implied contract is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
stream-processing, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.