-
Notifications
You must be signed in to change notification settings - Fork 286
gax library collision with google cloud gcp java client #655
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
Thanks @loicortola for filing this issue. I believe we need to update Line 388 in 72bfe0b
|
Dear @lahirumaramba , this is absolutely exact. |
For what it's worth, anything beyond Thanks a lot for your time and your quick response, let me know if I can do anything else to assist. |
@lahirumaramba, any updates? Would you like me to try a PR? I see there's already a bot which made a recent PR, I could take it from there? |
Hi @loicortola Thank you for your patience! We need to confirm what we are breaking before dropping support for Java 7. I have have prioritized this task and will track any updates here. Thanks! |
Hi,
sure.
Basically, new libs from BOM chose to drop support for java 7 (java 8 is 8
years old so I think we're okay), and use java.util.function.Supplier
interfaces, introduced in java 8.
For me, there is a higher risk to stay behind on gax 1.x than the potential
compatibility issues of upgrading to 8.
Let me know if I can help. I have been using my private release since the
PR in production and haven't had any issues.
Le jeu. 5 mai 2022 à 21:17, Lahiru Maramba ***@***.***> a
écrit :
… Hi @loicortola <https://github.com/loicortola> Thank you for your
patience! We need to confirm what we are breaking before dropping support
for Java 7. I have have prioritized this task and will track any updates
here. Thanks!
—
Reply to this email directly, view it on GitHub
<#655 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATIXALVYP4ZCPC6J2SO443VIQNDLANCNFSM5S2MA37A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This is now fixed in v9.0.0. Thank you! |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Firebase Admin SDK is getting old, and recently, Spring Cloud GCP https://github.com/GoogleCloudPlatform/spring-cloud-gcp updated their google cloud clients to the latest version, which uses a new major release of the google gax client https://mvnrepository.com/artifact/com.google.api/gax
Problem is: we cannot have both Firebase and Google Cloud libraries within the same runtime, as method signatures have changed since.
This is blocking for us, as we are forced to keep existing legacy versions and really need to upgrade soon.
Could you upgrade your project dependencies to the latest versions?
Thanks a lot for the great lib Google!
Steps to reproduce:
App wont be able to start and a noSuchMethodError will throw.
More info on the error:
`
The following method did not exist:
The calling method's class, com.google.cloud.pubsub.v1.stub.PublisherStubSettings, was loaded from the following location:
The called method's class, com.google.api.gax.core.GoogleCredentialsProvider$Builder, is available from the following locations:
The called method's class hierarchy was loaded from the following locations:
`
The text was updated successfully, but these errors were encountered: