TisonKun commented on issue #9881: [FLINK-14377] Parse Executor-relevant 
ProgramOptions to ConfigOptions
URL: https://github.com/apache/flink/pull/9881#issuecomment-541385115
 
 
   @kl0u thanks for opening this pull requests. The purpose of it looks good to 
me. My concern contains
   
   1. For providing configuration, so far we use name pattern 
`XxxConfiguration` such as `RestConfiguration`/`JobMasterConfiguration` and so 
on. `ExecutionParameterProvider` looks diverge from them.
   
   2. `fromConfiguration` is so far implemented as static methods of the 
`XxxConfiguration`. I wonder whether or not we have to introduce a 
`ExecutionParameterProviderBuilder` which doesn't follow a builder pattern as 
described in our [code style 
guide](https://lists.apache.org/x/thread.html/58e7ed148ff1df7acfacc038a5f07a3a74547caf6674c959ea6f91b4@%3Cdev.flink.apache.org%3E).
   
   3. Since we decide to make `Configuration` the unique view of configurations 
in Flink, `fromCommandLine` looks like a common pattern. Shall we try to induce 
how to parse a `CommandLine` to `Configuration` so that it guides following 
development?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to