[ 
https://issues.apache.org/jira/browse/FLINK-32205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weihua Hu updated FLINK-32205:
------------------------------
    Description: 
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, 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.

  was:
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.


> 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
>            Priority: Major
>
> 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, 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)

Reply via email to