[jira] [Created] (FLINK-14436) Add getter for ContextEnvironment instance in StreamContextEnvironment

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14436) Add getter for ContextEnvironment instance in StreamContextEnvironment

Shang Yuanchun (Jira)
Kevin Zhang created FLINK-14436:
-----------------------------------

             Summary: 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


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)