beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Groh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-608) Set EvaluationContext once in the TransformEvaluatorFactory instead of forApplication
Date Wed, 31 Aug 2016 16:31:20 GMT
Thomas Groh created BEAM-608:
--------------------------------

             Summary: Set EvaluationContext once in the TransformEvaluatorFactory instead
of forApplication
                 Key: BEAM-608
                 URL: https://issues.apache.org/jira/browse/BEAM-608
             Project: Beam
          Issue Type: Improvement
          Components: runner-direct
            Reporter: Thomas Groh
            Assignee: Thomas Groh
            Priority: Minor


Remove the EvaluationContext parameter from TransformEvaluatorFactory.forApplication() and
move it to TransformEvaluatorRegistry.defaultRegistry(), and pass it to all of the TransformEvaluatorFactories
created in that constructor.

A single EvaluationContext is produced per pipeline run. TransformEvaluatorFactories are also
produced once per pipeline run, as they are stateful (especially with regards to sources).
This change will both ensure that Evaluators cannot be reused across pipelines, and cleans
up the signature of the TransformEvaluatorFactory interface.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message