mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
update pic address
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
#### 验证自动注入
|
||||
在浏览器地址栏输入 `http://127.0.0.1:18084/user`,并点击调转,可以看到成功从 Nacos Config Server 中获取了数据。
|
||||
|
||||

|
||||

|
||||
|
||||
#### 验证动态刷新
|
||||
1. 执行如下命令,修改 Nacos Server 端的配置数据
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
2. 在浏览器地址栏输入 `http://127.0.0.1:18084/user`,并点击调转,可以看到应用从 Nacos Server 中获取了最新的数据,age 变成了 18。
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## 原理
|
||||
@@ -156,7 +156,7 @@ Spring Boot 1.x 可以通过访问 http://127.0.0.1:18084/nacos-config 来查看
|
||||
|
||||
Spring Boot 2.x 可以通过访问 http://127.0.0.1:18084/actuator/nacos-config 来访问。
|
||||
|
||||

|
||||

|
||||
|
||||
如上图所示,Sources 表示此客户端从哪些 Nacos Config 配置项中获取了信息,RefreshHistory 表示动态刷新的历史记录,最多保存20条,NacosConfigProperties 则为 Nacos Config Starter 本身的配置。
|
||||
|
||||
|
Reference in New Issue
Block a user