Thanks. gRPC and Calcite had their consideration beyond compatibility. guava is arguably the one has lower risk, and we may want to evaluate each remaining vendor dependencies in a case-by-case basis.
For gRPC, in the past gRPC had performance issues ( https://github.com/apache/beam/issues/22159, https://github.com/apache/beam/issues/30867) in Python as we didn't pin/vendor Python gRPC there. Generic takeaway is gRPC is a hot path and impacts performance. For Calcite, it's effectively tights to Beam SQL spec. Upgrade Calcite version is non-trivial and introduces a series of breaking changes. Yi On Wed, Dec 2, 2026 at 12:27 PM Kenneth Knowles via dev <[email protected]> wrote: > +1 > > And after this I think we should strongly consider un-vendoring grpc and > calcite as well, and go ahead unless it is impossible. The cost/benefit > of vendoring is totally different today than when we started it. > > Kenn > > On Wed, Dec 2, 2026 at 11:13 AM Yi Hu via dev <[email protected]> wrote: > >> 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 >> >
