Hi Beam Dev,

I would like to bring up https://github.com/apache/beam/pull/41426
which plans to unvendor guava. Specifically replace
beam-vendor-guava-32_1_2-jre to standard Guava dependency (managed by
GCP-BOM).

Background:

- Beam Java currently ships and uses 4 distinct copies of Guava
(vendor-guava, vendor-grpc, vendor-calcite,  gcp-bom managed)
- beam-vendor-guava-32_1_2-jre has been stale for over 3 years (last
updated in August 2023) due to the high cost of publishing new vendored
artifacts and renaming packages across the repo, and potential breaking
change for users use beam-vendor-guava in their own codes
- It caused both false positives and false negatives in vulnerability/SBOM
scanners depending on which JAR's META-INF/maven metadata wins in
classloader or fat-JAR merge order.
- Guava's binary compatibility and ecosystem alignment (Hadoop 3.x, Spark
3.x, Flink, etc.) have improved significantly over the years, reducing the
original motivation for vendoring it.

The targeted Beam release is currently 2.79.0.

Thanks,

Yi

Reply via email to