beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Mingmin (JIRA)" <>
Subject [jira] [Created] (BEAM-1691) Dynamic properties supported in PipelineOptions
Date Sat, 11 Mar 2017 06:06:04 GMT
Xu Mingmin created BEAM-1691:

             Summary: Dynamic properties supported in PipelineOptions
                 Key: BEAM-1691
             Project: Beam
          Issue Type: Improvement
          Components: sdk-java-core
            Reporter: Xu Mingmin
            Assignee: Davor Bonaci

Usually the two lines to create a new Beam pipeline are:
Options options = PipelineOptionsFactory.fromArgs(args).withValidation().as(Options.class);
Pipeline pipeline = Pipeline.create(options);

As each runner has its own PipelineOptions, one piece of code is hardly to run on different
runners without code change, --as least Options needs to be updated.

Dynamic property could be a choice, similar as
-D property1=value1 -D property2=value2 ...

This message was sent by Atlassian JIRA

View raw message