0

I have an Apache Beam streaming project that uses Combine.perKey(), I need to be able to merge entities from my admin tool (to point one entity to another one), how to combine two keys with calculated data in Beam? It's easy to do it for the new messages, but how to combine already calculated data?

1 Answers1

0

You can re-key the elements before combine so that the calculated data with two keys you want to merge will have same key.

Yichi Zhang
  • 351
  • 1
  • 5