I have created a spring-boot application to be used as spark job.
(我创建了一个spring-boot应用程序以用作火花作业。)
I am able to submit jobs with the spring-boot application. (我可以使用spring-boot应用程序提交作业。)
I am trying to provide different application properties to job using spring-cloud-consul but once I add spring consul dependencies to the application, the spark job starts failing at start up with unable to create bean for spring-cloud-consul.
(我试图使用spring-cloud-consul为工作提供不同的应用程序属性,但是一旦我将spring consul依赖项添加到应用程序,spark作业在启动时就开始失败,无法为spring-cloud-consul创建bean。)
So, it is possible to load configuration from consul in spring-boot app when using spark.
(因此,使用spark时可以从spring-boot应用程序的领事中加载配置。)
ask by Pritam Sadhukhan translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…