Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Support AWS SDK 2.0 #267

Open
mv78 opened this issue Oct 6, 2017 · 21 comments
Open

Support AWS SDK 2.0 #267

mv78 opened this issue Oct 6, 2017 · 21 comments
Labels
type: enhancement A general enhancement
Milestone

Comments

@mv78
Copy link

mv78 commented Oct 6, 2017

AWS currently in the process or releasing SDK 2.0. It would be good to start integrating it into the project as it progresses to GA.

@aemruli
Copy link
Contributor

aemruli commented Dec 19, 2017

@mv78 just checked today. At least from the information I found they are in the preview. Hence we are waiting once AWS has released a final 2.0.
I have updated the project to use the latest AWS SDK 1.x

@ajainy
Copy link

ajainy commented May 16, 2018

Can we upgrade AWS SDK v1.11.321 (latest as of May, 2018) ..?
@aemruli

Or please share your last commit, i will do similar.

@aemruli
Copy link
Contributor

aemruli commented Jun 13, 2018

@ajainy we have upgraded master to 1.11.336

@michl-b
Copy link

michl-b commented May 2, 2019

Are there any news on this?
Usage with JDK11 gives some warnings on a class used in the old V1 of aws-sdk-java

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.amazonaws.util.XpathUtils (file:/Users/michael/.m2/repository/com/amazonaws/aws-java-sdk-core/1.11.415/aws-java-sdk-core-1.11.415.jar) to method com.sun.org.apache.xpath.internal.XPathContext.getDTMManager() WARNING: Please consider reporting this to the maintainers of com.amazonaws.util.XpathUtils WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release

@kmualem
Copy link

kmualem commented May 23, 2019

Hi guys

Any news about AWS SDK version 2?

@michaelwiles
Copy link

Yes, problem with AWS SDK version 1 is it doesn't play nice with JDK 9 as it duplicates packages across individual jars.

Although an upgrade like this would touch a lot of classes it wouldn't be too hard to do as it's a simple job to upgrade to the new SDK and the new SDK is a lot easier to work with (imo it has a more fluent api).

@artembilan
Copy link

See another reason to do this: #491
Also here: spring-projects/spring-integration-aws#155

Thanks

tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Oct 3, 2019
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Oct 3, 2019
@tinexw
Copy link

tinexw commented Oct 4, 2019

I started working on this here https://github.com/tinexw/spring-cloud-aws/tree/gh-267

If anyone wants to join, please let me know!

I would also like to get some insight from the maintainers what the best way to go about this is. I just started fixing compile errors and committed everything in one big commit. Not sure if that is a good idea.

Also, I'm just assuming we don't need to care about backwards compatibility. But is that correct?

@spencergibb
Copy link
Contributor

spencergibb commented Oct 9, 2019

@tinexw not sure how this would work as updating major versions of a dependency would be a breaking change

@tinexw
Copy link

tinexw commented Oct 9, 2019

Yeah, that's why I was asking what the preferred approach in this case is. Release a new major version?

@OlgaMaciaszek
Copy link
Contributor

We would be very happy to take this upgrade PR, but we can't put backwards-incompatible changes within the Hoxton release train, cause it's not going to be a major. We will be shortly deciding if our next release train will be major (we will probably branch it out in a few months). If yes, then these changes could be merged there.

@tinexw
Copy link

tinexw commented Nov 18, 2019

Ok, thanks for the update. There is quite a lot left. I will pick it up again once you know for sure if it’s going to be a major release.

@sp00m
Copy link

sp00m commented Jan 22, 2020

Yet another reason to upgrade: EKS supports 2.10.11+ only... Any ETA yet?

@tcheek-bw
Copy link

Is this still being worked on? The 2.0 SDK would be really nice to have.

@spencergibb
Copy link
Contributor

@tinexw started working on it and now that master would be a major release we would be happy to accept it.

@tinexw
Copy link

tinexw commented Feb 5, 2020

Good to know :-) I will pick it back up. Would be great to get some support especially in regards to testing later on.

tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 5, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 5, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 6, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 6, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 6, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 9, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
Support for ProfileCredentialsProvider still needs to be fixed
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 13, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 14, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 14, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 14, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 15, 2020
…tticgh-267

Only in annotation, XML parsing needs to be adapted
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
Default task executor was changed
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 17, 2020
tinexw pushed a commit to tinexw/spring-cloud-aws that referenced this issue Feb 19, 2020
@sp00m
Copy link

sp00m commented Jul 13, 2020

Just as an FYI, this ticket blocked us going forward, so we decided to develop our own abstraction for our Spring WebFlux projects, so that we could connect to SQS from within EKS: https://github.com/qudini/qudini-reactive/tree/master/qudini-reactive-sqs. Very SQS (and WebFlux) focused obviously, and by no means intended to replace https://github.com/spring-cloud/spring-cloud-aws, but maybe it can help resolving this issue somehow :)

@maciejwalkowiak
Copy link
Contributor

Thanks @sp00m! We are going to move to SDK v2 in 3.0 and revisit SQS integration so we are definitely going to look at your repository for an inspiration.

@internetstaff
Copy link

Perhaps Spring Cloud AWS 3.0 could just be an upgrade to SDK v2 in order to knock that out sooner rather than later?

We're starting to hit issues like SSO that simply aren't supported in SDK v1.

@spencergibb
Copy link
Contributor

The repo that would handle this is https://github.com/awspring/spring-cloud-aws

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement A general enhancement
Development

No branches or pull requests