You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Weihua Hu (Jira)" <ji...@apache.org> on 2023/05/26 08:05:00 UTC
[jira] [Created] (FLINK-32205) Flink Rest Client should support connecting to the server using URLs.
Weihua Hu created FLINK-32205:
---------------------------------
Summary: Flink Rest Client should support connecting to the server using URLs.
Key: FLINK-32205
URL: https://issues.apache.org/jira/browse/FLINK-32205
Project: Flink
Issue Type: Improvement
Components: Command Line Client
Affects Versions: 1.17.0
Reporter: Weihua Hu
Currently, Flink Client can only connect to the server via the address:port, which is configured by the rest.address and rest.port.
But in some other scenarios. Flink Server is run behind a proxy. Such as running on Kubernetes and exposing services through ingress. The URL to access the Flink server can be: http://{proxy address}/{some prefix path to identify flink clusters}/{flink request path}
In [FLINK-32030|https://issues.apache.org/jira/browse/FLINK-32030], the SQL Client gateway accepts URLs by using the '--endpoint'.
IMO, we should introduce an option, such as "rest.endpoint", to make the Flink client work with URLs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)