Is there anyway to share stateful variables in dataflow pipeline?

大兔子大兔子 提交于 2021-02-08 04:37:26

问题



I'm making dataflow pipeline with python.
I want to share global variables across pipeline transform and across worker nodes like global variables (across multiple workers).
Is there any way to support this? thanx in advance


回答1:


Stateful processing may be of use for sharing state between workers of a specific node (would not be able to share between transforms though): https://beam.apache.org/blog/2017/02/13/stateful-processing.html



来源:https://stackoverflow.com/questions/44432556/is-there-anyway-to-share-stateful-variables-in-dataflow-pipeline

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!