-
Notifications
You must be signed in to change notification settings - Fork 910
Expose S3TransferManager property S3ClientConfiguration.endpointOverride #3084
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR. The code change overall looks good to me, but our stability test job keeps failing, likely caused by CRT version bump. I'll investigate it.
...-manager/src/main/java/software/amazon/awssdk/transfer/s3/internal/S3CrtAsyncHttpClient.java
Show resolved
Hide resolved
Hey @ron1, just a quick update, we identified a regression in the latest crt version and we are actively working on it right now. We will let you know once it's fixed. |
Hi @zoewangg, thanks for the update. Do you know if an issue has been opened against the crt for this regression that I can use to track its progress? |
There's no GitHub issue to track this right now. The fix on the C side has been merged awslabs/aws-c-http#366 I'll let you know once the change is available in the Java binding. |
aws-sdk-java-v2 version 2.17.144 aws-sdk-java-v2 s3-transfer-manager version 2.17.144-SNAPSHOT-PREVIEW built from PR aws/aws-sdk-java-v2#3084 aws-crt-java version 0.15.20
Hi @zoewangg Will you take care of the rebase or would you prefer I do it? |
Looks like there's a conflict. It might be easier for you to resolve the conflict. |
@zoewangg I went ahead and force pushed my branch after re-basing it on master but for some reason github does not seem to be reflecting my re-based branch in this PR at the moment. |
@ron1 take a look: https://www.githubstatus.com/ |
c14e0b9
to
5061765
Compare
@zoewangg I went ahead and force pushed a change to the commit message which seems to have fixed the problem. |
SonarCloud Quality Gate failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
Hey @ron1, thanks again for the PR, and it will be included in the next release. We'd love to hear your feedback on the Transfer Manager :). Is there any API you think should be improved? Do you think our documentation is clear? |
@all-contributors please add @ron1 for code |
I've put up a pull request to add @ron1! 🎉 |
hi,why does the 2.17.292 version still have this problem~ |
Allow setting endpointOverride for the S3TransferManager
Motivation and Context
#2740
#2945
The S3AsyncClient offers the ability to set the endpointOverride as follows:
This change adds the endpointOverride feature to the S3TransferManager.
Modifications
Enhance the
S3TransferManager
S3ClientConfiguration
with the ability to set theendpointOverride(URI)
. This feature requires the following enhancement provided in aws-crt-java v0.15.20: awslabs/aws-crt-java@f5a7955.Testing
I executed all s3-transfer-manager unit and integration tests with these changes applied using "isolated" S3 test buckets. I also executed the s3-transfer-manager integration tests against a local Minio server. This required modifying the integration tests to specify endpointOverride(URI.create("http://localhost:9000") and to comment the use of ListObjectVersionsRequest in method
S3IntegrationTestBase.deleteBucketAndAllContents
which proved problematic for Minio.Screenshots (if appropriate)
Types of changes
Checklist
mvn install
succeedsscripts/new-change
script and following the instructions. Commit the new file created by the script in.changes/next-release
with your changes.License