-
Notifications
You must be signed in to change notification settings - Fork 910
Enhance S3TransferManager S3(Native)ClientConfiguration to include additional CRT S3ClientOptions #2945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
As @zoewangg mentioned in #2946, the V2 TransferManager is being refactored and the way to configure the S3 client will probably change - the plan is to allow to pass a S3Client to TransferManager, with all the client customizations you need. Let's keep this open to track if the feature request is fulfilled after the refactor. |
@debora-ito @zoewangg Now that v0.15.20 of the AWS CRT for Java has been released with the ability to Perform S3 get and put operations over HTTP as well as HTTPS, and with custom ports, would you reconsider accepting a S3TransferManager PR that adds just the endpoint (and not the TLSContext) as an additional S3ClientOption? The latest set of S3TransferManager changes made by @zoewangg should simplify the PR. Removal of the TLSContext from the PR should also reduce the scope of the PR. We have an immediate need to use the S3TransferManager to perform get and put operations over HTTP with custom ports. Without this PR, we must copy, paste, tweak, and maintain more than six S3TransferManger classes since most of these classes are internal and therefore not reusable. Thanks for your consideration. |
Hi @ron1, I think just exposing |
Hi @zoewangg. I am fine with an interim solution that includes throw-away code. I will go to work on a PR that exposes |
@zoewangg BTW, when you mentioned |
Apologies for the delayed response, I meant to say |
@zoewangg with this approach will also be possible to set a specific proxy configuration to S3 Transfer Manager? Is there already a way to do this? |
…6cd466fca Pull request: release <- staging/b7de7094-d69b-46d0-9321-6326cd466fca
Uh oh!
There was an error while loading. Please reload this page.
Describe the feature
The S3TransferManager components S3ClientConfiguration, S3NativeClientConfiguration, and others are enhanced to allow customization of the following
software.amazon.awssdk.crt.s3.S3ClientOptions
properties:Is your Feature Request related to a problem?
I am unable to upgrade the aws sdk used in my application from sdk v1 to sdk v2 because the sdk v2 S3TransferManager does not allow the S3 endpoint nor the SSLSocketFactory to be customized.
Proposed Solution
Enhance several S3TransferManager components to allow customization of the CRT S3ClientOptions specified above.
Describe alternatives you've considered
No response
Acknowledge
Would you accept a PR that implements this feature?
AWS Java SDK version used
2.17.102
JDK version used
OpenJDK Runtime Environment (build 1.8.0_302-b08)
Operating System and version
CentOS 7.9
The text was updated successfully, but these errors were encountered: