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 19:34:01 UTC

[GitHub] [beam] kennknowles opened a new issue, #18654: core-construction-java should not depend on testing

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

   core-construction-java currently depends on a class in the testing package because runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/TestStreamTranslation.java registers a translation for org.apache.beam.sdk.testing.TestStream.
   
   This means that when using core-construction-java, one needs to also depend on the testing code. Core should not have to depend on testing, the translation should move to the testing package.
   
   This also affects the direct runner with runners/direct-java/src/main/java/org/apache/beam/runners/direct/TestStreamEvaluatorFactory.java. For the direct runner, we should have a way to register these factories at run time (via Autoservice) so that this can also be moved to the testing package.
   
   Imported from Jira [BEAM-3495](https://issues.apache.org/jira/browse/BEAM-3495). Original Jira may contain additional context.
   Reported by: jeremiele_g.


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