Commit 7bddf9ea by Nepxion

修改介绍

parent 2cf18ac2
...@@ -281,6 +281,11 @@ spring.application.register.control.enabled=true ...@@ -281,6 +281,11 @@ spring.application.register.control.enabled=true
spring.application.discovery.control.enabled=true spring.application.discovery.control.enabled=true
# 开启和关闭通过Rest方式对规则配置的控制和推送。一旦关闭,只能通过远程配置中心来控制和推送。缺失则默认为true # 开启和关闭通过Rest方式对规则配置的控制和推送。一旦关闭,只能通过远程配置中心来控制和推送。缺失则默认为true
spring.application.config.rest.control.enabled=true spring.application.config.rest.control.enabled=true
# 本地规则文件的路径。缺失则默认为不装载本地规则
# 两种方式放置方式:
# classpath:rule.xml,规则文件放在resources目录下,便于把规则文件打包进jar
# file:rule.xml,规则文件放在工程根目录下,便于把规则文件放置在外部,方便修改
spring.application.config.path=classpath:rule.xml
``` ```
## 配置中心 ## 配置中心
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment