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

Zili Chen commented on FLINK-14436:
-----------------------------------

CC [~aljoscha]

There is an ongoing discussion about enhancing client API of FLINK. You can 
checkout [this 
thread|https://lists.apache.org/x/thread.html/ce99cba4a10b9dc40eb729d39910f315ae41d80ec74f09a356c73938@%3Cdev.flink.apache.org%3E]
 as well as 
[FLIP-73|https://cwiki.apache.org/confluence/display/FLINK/FLIP-73%3A+Introducing+Executors+for+job+submission]
 & 
[FLIP-74|https://cwiki.apache.org/confluence/display/FLINK/FLIP-74%3A+Flink+JobClient+API].

For this special JIRA, I'm afraid it diverges from community consensus.

> Add getter for ContextEnvironment instance in StreamContextEnvironment
> ----------------------------------------------------------------------
>
>                 Key: FLINK-14436
>                 URL: https://issues.apache.org/jira/browse/FLINK-14436
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataStream
>    Affects Versions: 1.9.0
>            Reporter: Kevin Zhang
>            Priority: Major
>              Labels: easyfix
>
> Currently in StreamContextEnvironment the member variable ctx, an instance of 
> ContextEnvironment, is private. It's very helpful to add a getter for ctx 
> because through the ContextEnvironment we can access the ClusterClient object 
> of the application, and then get the information of the flink jobs or 
> submit/cancel jobs. It's especially useful for developers building a server 
> upon flink.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to