afedulov opened a new pull request, #22816:
URL: https://github.com/apache/flink/pull/22816

   ## What is the purpose of the change
   
   [FLINK-32030](https://issues.apache.org/jira/browse/FLINK-32030) and 
[FLINK-32035](https://issues.apache.org/jira/browse/FLINK-32035) enable 
communication from the SQL Client to the SQL Gateway placed behind a proxy, 
such as a K8S ingress. Such use cases typically need authentication. This PR 
enables authentication by adding the ability to supply custom headers to the 
underlying RestClient.
   
   ## Verifying this change
   
     - Added a test that verifies that custom headers are read and parsed 
correctly
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (yes / **no**)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** 
/ don't know)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't 
know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (**yes** / no)
     - A follow up docs PR will be created to document URLs support in SQL 
Client gateway mode, including the custom headers feature
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to