1. 引入 Spring Cloud Sentinel,后续做进一步集成

2. 重新搭建 Elasticsearch 服务,并接入 search 服务
This commit is contained in:
YunaiV
2020-04-14 20:10:40 +08:00
parent 90391664cc
commit 059dbc6c79
24 changed files with 74 additions and 57 deletions

View File

@@ -7,8 +7,8 @@ spring:
# Spring Cloud Sentinel 配置项
sentinel:
transport:
dashboard: localhost:12088
eager: false
dashboard: s1.iocoder.cn:12088 # Sentinel Dashboard 服务地址
eager: true # 项目启动时,直接连接到 Sentinel
# server
server:

View File

@@ -72,12 +72,6 @@
<artifactId>spring-cloud-alibaba-seata</artifactId>
</dependency>
<!-- MQ 相关 -->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-stream-rocketmq</artifactId>
</dependency>
<!-- Job 相关 -->
<dependency>
<groupId>com.xuxueli</groupId>

View File

@@ -2,7 +2,7 @@ spring:
# datasource
datasource:
type: com.alibaba.druid.pool.DruidDataSource
url: jdbc:mysql://180.167.213.26:13306/mall_promotion?useSSL=false&useUnicode=true&characterEncoding=UTF-8
url: jdbc:mysql://s1.iocoder.cn:3306/mall_promotion?useSSL=false&useUnicode=true&characterEncoding=UTF-8
driver-class-name: com.mysql.jdbc.Driver
username: root
password: ${MALL_MYSQL_PASSWORD}