nielsbasjes opened a new pull request #12846:
URL: https://github.com/apache/flink/pull/12846
## What is the purpose of the change
The PubSub connector was created with the Google Cloud libraries of some
time ago.
Because over time Google has changed their API in a not backward compatible
way this change simply updates the Google PubSub dependencies and fixes the API
incompatibilities.
## Brief change log
- Use the updated dependencies from Google
- Fix problematic API changes
- .usePlaintext(true)
- NoCredentials.getInstance()
- Limit the retries in case of testing.
- Apparently now in the Google code a retry system is present that does
way too many retries for testing scenarios.
## Verifying this change
This change is already covered by existing tests, such as the tests in the
**flink-connector-gcp-pubsub** and
**flink-connector-gcp-pubsub-emulator-tests** maven modules.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): **YES**
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: **no**
- The serializers: **no**
- The runtime per-record code paths (performance sensitive): **no**
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: **no**
- The S3 file system connector: **no**
## Documentation
- Does this pull request introduce a new feature? **no**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]