1. 引入 Spring Cloud Sentinel,后续做进一步集成
2. 重新搭建 Elasticsearch 服务,并接入 search 服务
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
xxl:
|
||||
job:
|
||||
admin:
|
||||
addresses: http://127.0.0.1:18079/
|
||||
addresses: http://s1.iocoder.cn:18079/
|
||||
executor:
|
||||
appname: pay-job-executor
|
||||
ip:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
spring:
|
||||
# datasource
|
||||
datasource:
|
||||
url: jdbc:mysql://180.167.213.26:13306/mall_pay?useSSL=false&useUnicode=true&characterEncoding=UTF-8
|
||||
url: jdbc:mysql://s1.iocoder.cn:3306/mall_pay?useSSL=false&useUnicode=true&characterEncoding=UTF-8
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
username: root
|
||||
password: ${MALL_MYSQL_PASSWORD}
|
||||
@@ -44,7 +44,7 @@ dubbo:
|
||||
|
||||
# rocketmq
|
||||
rocketmq:
|
||||
name-server: 127.0.0.1:9876
|
||||
name-server: s1.iocoder.cn:9876
|
||||
producer:
|
||||
group: pay-producer-group
|
||||
|
||||
|
||||
Reference in New Issue
Block a user