[
https://issues.apache.org/jira/browse/FLINK-14501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957657#comment-16957657
]
Kostas Kloudas commented on FLINK-14501:
----------------------------------------
Thanks a lot for the quick comments [~tison] and [~fly_in_gis] ! I have a
branch which is ready for pre-reviewing but will wait until FLIP-81 is voted.
Feel free to have a look and tell me your opinions!
> Move ClusteDescriptor/ClusterSpecification creation from the
> CustomCommandLine to a ClusterClientFactory
> --------------------------------------------------------------------------------------------------------
>
> Key: FLINK-14501
> URL: https://issues.apache.org/jira/browse/FLINK-14501
> Project: Flink
> Issue Type: Sub-task
> Components: Client / Job Submission, Command Line Client
> Affects Versions: 1.9.0
> Reporter: Kostas Kloudas
> Assignee: Kostas Kloudas
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This issue targets to make the {{ClusterDescriptor}} and the
> {{ClusterSpecification}} independent from the {{CommandLine}} . Currently
> this is not the case, as the {{CustomCommandLine}} is responsible for
> instantiating them.
>
> The correct {{ClusterClientFactory}} can be discovered based on Service
> Discovery.
>
> This decoupling will enable the further decoupling of the cluster execution
> from the command line-related code, which apart from unnecessary, it is also
> a bad separation of concerns. Now the {{CustomCommandLine}} is only
> responsible for parsing the CLI options to configuration options.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)