lunar-shadow opened a new issue, #15504:
URL: https://github.com/apache/iceberg/issues/15504

   ### Feature Request / Improvement
   
   ### Feature Request / Improvement
   
   Currently, Iceberg's AWS HTTP client configuration only supports setting a 
proxy endpoint via `http-client.proxy-endpoint`. 
   
   However, AWS SDK also supports controlling whether proxy settings are read 
from Java system properties (`http.proxyHost`, `http.proxyPort`, etc.) and 
environment variables (`HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY`, etc.).
   
   This is needed when running in environments where proxy environment 
variables are set globally but should not be used for S3/AWS traffic (e.g., the 
proxy is only for outbound HTTP to non-AWS services).
   
   Proposal: Add two new properties:
   - `http-client.proxy-use-system-property-values` (default: true)
   - `http-client.proxy-use-environment-variable-values` (default: true)
   
   These map directly to the AWS SDK's ProxyConfiguration builder:
   - https://github.com/aws/aws-sdk-java-v2/pull/4467
   - https://github.com/aws/aws-sdk-java-v2/pull/4735
   
   Applied to both ApacheHttpClient and UrlConnectionHttpClient.
   
   ### Query engine
   
   None
   
   ### Willingness to contribute
   
   - [x] I can contribute this improvement/feature independently
   - [ ] I would be willing to contribute this improvement/feature with 
guidance from the Iceberg community
   - [ ] I cannot contribute this improvement/feature at this time


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to