[ 
https://issues.apache.org/jira/browse/BEAM-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16553523#comment-16553523
 ] 

Luke Cwik commented on BEAM-4819:
---------------------------------

Yes I believe it should be.

 

Its unfortunate but a lot of stuff was baked into PipelineOptions at a top 
level which makes it annoying to use as a top level options class for 
configuring runners. A few ideas came to mind:
 * (preferred) Create a new top level interface called options which has the 
same capabilities as PipelineOptions (the "as" method and a few others) 
allowing PipelineOptions to be decoupled from Options which has all the 
argument parsing and JSON conversion magic.
 ** Good: PipelineOptions can still be passed around to things like FileSystem 
configuration, paves the way for transform level options, ...
 * Use string[] args and another argument parsing library building a simpler 
version of PipelineOptionsFactory/PipelineOptions dedicated to runners.
 ** Good: Likely fastest solution to implement

> Make portable Flink runner JobBundleFactory configurable
> --------------------------------------------------------
>
>                 Key: BEAM-4819
>                 URL: https://issues.apache.org/jira/browse/BEAM-4819
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-flink
>            Reporter: Thomas Weise
>            Assignee: Thomas Weise
>            Priority: Major
>              Labels: portability
>
> BEAM-4791 introduces factory override for testing, expand that to allow users 
> to configure a different factory via service loader to adopt alternative 
> execution environments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to