apache / beam

Apache Beam is a unified programming model for Batch and Streaming data processing.
https://beam.apache.org/
Apache License 2.0
7.86k stars 4.26k forks source link

[Task]: Use GCP-BOM to manage google cloud dependencies in sdks/java/extensions/ml #30405

Open Abacn opened 8 months ago

Abacn commented 8 months ago

What needs to happen?

Currently https://github.com/apache/beam/blob/master/sdks/java/extensions/ml/build.gradle has hard coded cloud dependencies. We should use gcp-bom to manage these dependencies, in alignment with other beam modules.

Issue Priority

Priority: 2 (default / most normal work should be filed as P2)

Issue Components

Abacn commented 8 months ago

There is at least a known breaking change from google-cloud-recommendations-ai needs to be resolved:

https://github.com/googleapis/google-cloud-java/commit/7c866001585563cd673b0bb33a567fd549cc483d changed return type of predictionServiceClient.predict.iterateAll from PredictionResult to Entry<String, Value>