Apache Beam 使用 Spring Cloud Config 应用集中配置

Apache Beam apply centralized configuration using Spring Cloud Config

我们需要将配置属性移动到集中式 Spring 云配置服务器。例如输入文件的路径和写入输出文件的路径。您能否告诉 Spring Cloud Config Client 是否可以集成到 Apache Beam 框架中,Beam 程序是否可以从 Spring Config Server 读取配置属性。我们正在使用 Spark 运行ner 来 运行 Beam 程序。

谢谢

好吧,我在 Flink 中创建了一个 spring-boot app 运行,诀窍是在 bootstrap.yml

spring: 主要的: 网络环境:false

有效。