如何向Spring Cloud Dataflow应用程序添加属性

问题描述 投票:0回答:1

我是Spring Cloud数据流的新手。我正在编写一个“源”应用程序,但无法弄清楚如何向该应用程序添加属性。我在documentation中找不到任何帮助。

[我遵循了示例春季云数据流应用程序的code in the github,并尝试以相同的方式实现我的方法,但是仍然无法在数据流UI中显示属性。

spring spring-boot spring-cloud spring-cloud-stream spring-cloud-dataflow
1个回答
0
投票

将应用程序属性添加到应用程序的过程在here中进行了说明。总之,您需要使用spring-boot-configuration-processor并将属性分类为配置元数据。

© www.soinside.com 2019 - 2024. All rights reserved.