From ce76dfe68cc9bc0ba5e45eabf1a89532e242ea23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=AF=E8=88=AA?= Date: Sat, 2 Mar 2024 10:58:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Sentinel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ api/src/main/resources/application.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 367f33e7..d3d6fcf9 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ ### 4、中间件 + Redis:7.x(缓存:在线用户、字典、系统配置) + Nacos:2.2.0(配置中心、注册中心) ++ Sentinel(分布式流量治理组件) + `java -Dserver.port=8888 -Dcsp.sentinel.dashboard.server=localhost:8888 -Dproject.name=sentinel-dashboard -jar sentinel-dashboard.jar` ## 项目说明 ### core diff --git a/api/src/main/resources/application.yaml b/api/src/main/resources/application.yaml index 46325912..d277d74b 100644 --- a/api/src/main/resources/application.yaml +++ b/api/src/main/resources/application.yaml @@ -15,6 +15,9 @@ spring: server-addr: 127.0.0.1:8848 # username: nacos # password: nacos + sentinel: + transport: + dashboard: 127.0.0.1:8888 # sentinel控制台地址 gateway: discovery: locator: