Sentinel
Sentinel copied to clipboard
sentinel 客户端的向 控制台提交的 和端口 能否支持 spring boot 的配置文件,而不是使用 JVM参数
sentinel 客户端的向 控制台提交的 和端口 能否支持 spring boot 的配置文件,而不是使用 JVM参数,使用 jvm 参数不便与包装
Hi, Spring Cloud Alibaba Sentinel supports property configuration via Spring application.properties file. You can refer to the example here: https://github.com/spring-cloud-incubator/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/sentinel-example/sentinel-core-example/readme.md
多谢,我去看看
启动参数也可以,以Java代码System.setProperties(key,value),value再以Spel表达式写在application.properties中,也可以达到这种效果.