Re: Re: Re: Official flink java client

2021-04-23 Thread Flavio Pompermaier
might need to be careful when > upgrading. > > Best, > Yun > > > --Original Mail -- > *Sender:*Flavio Pompermaier > *Send Date:*Fri Apr 23 16:10:05 2021 > *Recipients:*Yun Gao > *CC:*gaurav kulkarni , User < > user@flink.apache.org&g

Re: Re: Re: Official flink java client

2021-04-23 Thread Yun Gao
Hi Flavio, Got that, from my view I think RestClusterClient might not be viewed as public API, and might be change between version, thus it might need to be careful when upgrading. Best, Yun --Original Mail -- Sender:Flavio Pompermaier Send Date:Fri Apr 23

Re: Re: Official flink java client

2021-04-23 Thread Flavio Pompermaier
Obviously I could rewrite a java client from scratch that interface with the provided REST API but why if I can reuse something already existing? Usually I interface with REST API using auto generated clients (if APIs are exposed via Swagger or OpenApi). If that's not an option, writing a REST clie

Re: Re: Official flink java client

2021-04-23 Thread Yun Gao
Hi Falvio, Very thanks for the explanation, may be another option is to have a look at the http rest API[1] ? Flink provides official http api to submit jar jobs and query job status, and they might be able to help. Best, Yun [1] https://ci.apache.org/projects/flink/flink-docs-stable/ops/rest