Hi Beam developers,

Shall we use GCP Libraries BOM [1] to specify the Google-related library
versions in Beam?

I've been working on Beam's dependency upgrades in the past few months.
It's time to consider a long-term solution to keep the libraries up-to-date
with small maintenance effort. To achieve that, I propose Beam to use GCP
Libraries BOM to set the Google-related library versions, rather than the
current way of making changes in each of ~30 Google libraries with
individual PRs [2].

After the proposal is implemented, Beam project upgrades the BOM version to
upgrade these Google-related libraries. This still needs to ensure the
libraries in GCP Library BOM are compatible with Beam's other dependencies.
(Linkage Checker will help with this job.) I believe onboarding GCP
Libraries BOM will solve lots of incompatibilities which we have seen in
gax, gRPC, google-cloud-core, and so on with minimal effort in Beam's
developers.

Created an issue to track this: BEAM-9444 [3]. I appreciate if you can
share questions or feedback (thumbs-up / concerns).

[1]:
https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
[2]: https://github.com/apache/beam/pulls?page=1&q=is%3Apr+author%3Asuztomo
[3]: https://issues.apache.org/jira/browse/BEAM-9444

-- 
Regards,
Tomo

Reply via email to