Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Bump google-api-services-pubsub to 2.0.0#107

Open
irajhedayati wants to merge 1 commit into
apache:masterfrom
irajhedayati:UpgradePubsubAPI
Open

Bump google-api-services-pubsub to 2.0.0#107
irajhedayati wants to merge 1 commit into
apache:masterfrom
irajhedayati:UpgradePubsubAPI

Conversation

@irajhedayati

Copy link
Copy Markdown

The Google API clients are now at major version 2, which, if used in the same project, will cause compatibility issues.

For example, org.apache.bahir:spark-streaming-pubsub_2.12:2.4.0 uses com.google.apis:google-api-services-pubsub:v1-rev355-1.22.0 while Spark GCS connector 2.2.11 is using 2.2.0. Then in runtime, we get

Caused by: java.lang.IllegalStateException: You are currently running with version 2.2.0 of google-api-client. You need at least version 1.15 of google-api-client to run version 1.22.0 of the Google Cloud Pub/Sub API library.
Comment thread streaming-pubsub/pom.xml
@irajhedayati

Copy link
Copy Markdown
Author

@mhdkassir do you think it's good to merge?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants