From 814cf43140fd31139de7faf1a3f00694df53cb18 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Thu, 13 Jun 2024 15:30:34 +0200 Subject: [PATCH] Call out enrichment in side input patterns (#31578) --- .../www/site/content/en/documentation/patterns/side-inputs.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/www/site/content/en/documentation/patterns/side-inputs.md b/website/www/site/content/en/documentation/patterns/side-inputs.md index 814a735bf724c..136eeef29adae 100644 --- a/website/www/site/content/en/documentation/patterns/side-inputs.md +++ b/website/www/site/content/en/documentation/patterns/side-inputs.md @@ -19,6 +19,8 @@ limitations under the License. The samples on this page show you common Beam side input patterns. A side input is an additional input that your `DoFn` can access each time it processes an element in the input `PCollection`. For more information, see the [programming guide section on side inputs](/documentation/programming-guide/#side-inputs). +If you are trying to enrich your data by doing a key-value lookup to a remote service, you may first want to consider the [Enrichment transform](https://beam.apache.org/documentation/transforms/python/elementwise/enrichment/) which can abstract away some of the details of side inputs and provide additional benefits like client-side throttling. + {{< language-switcher java py >}} ## Slowly updating global window side inputs