You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by John Duffie <jo...@gmail.com> on 2020/02/27 20:34:28 UTC
invoking REST call at job startup
At job startup, I need to make a single REST client call. Is there a
suggested REST client to use for this?
Re: invoking REST call at job startup
Posted by Arvid Heise <ar...@ververica.com>.
There is no clear recommendation. You should bundle whichever client you
like or need. Common options are okhttp [1] or httpcomponents [2].
In the easiest case, you could also just use java's URL to send that one
request and avoid a new dependency.
[1] https://github.com/square/okhttp
[2] http://hc.apache.org/httpcomponents-client-ga/tutorial/html/fluent.html
On Thu, Feb 27, 2020 at 9:35 PM John Duffie <jo...@gmail.com> wrote:
> At job startup, I need to make a single REST client call. Is there a
> suggested REST client to use for this?
>