yanghua commented on a change in pull request #6266: [FLINK-9682] Add
setDescription to execution environment and provide description field for the
rest api
URL: https://github.com/apache/flink/pull/6266#discussion_r216284722
##########
File path:
flink-core/src/main/java/org/apache/flink/api/common/ExecutionConfig.java
##########
@@ -103,6 +103,8 @@
*/
private int maxParallelism = -1;
+ private String description;
Review comment:
yes, But since the jobName is passed, it already passes through a long call
chain. You mean that you suggest that I refactor these methods, add a parameter
and pass the jobDescription in the batch call chain: `execution ->
createProgramPlan -> createProgramPlan - > translateToPlan` instead of using
properties?
The main consideration is: ExecutionConfig is only used to store information
that the Task must read at runtime?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services