From e081193a764667cb091390b034795ee05a36b4fb Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 31 Dec 2024 15:20:32 +0800
Subject: [PATCH] feat(rabbitmq): 新增节点升级消息功能
---
src/main/resources/application-dev.yml | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index c08f3ad..f606d79 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -2,7 +2,7 @@
datasource:
dynamic:
# 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗
- p6spy: false
+ p6spy: true
hikari:
connection-timeout: 30000
max-lifetime: 1800000
@@ -18,17 +18,17 @@
username: db_e2
password: db_e20806123!@#
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://47.250.124.232:3306/db_e2?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
+ url: jdbc:mysql://8.210.56.119:3306/db_e2?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
redis:
# Redis数据库索引(默认为 0)
- database: 1
+ database: 15
# Redis服务器地址
- host: 47.250.124.232
+ host: 8.210.56.119
# Redis服务器连接端口
port: 6379
# Redis 密码
- password: lianghua1!qaz2@WSX
+ password: 1234!@#$!QAZ
lettuce:
pool:
# 连接池中的最小空闲连接
@@ -42,10 +42,10 @@
# 连接超时时间(毫秒)
timeout: 5000
rabbitmq:
- host: 47.250.124.232
+ host: 8.210.56.119
port: 5672
- username: e20210816
- password: e20210816
+ username: xc_rabbit
+ password: xuncong123
publisher-confirm-type: correlated
pay:
@@ -75,8 +75,18 @@
static:
resource:
- url: https://res.mye2u.com/
- path: /home/javaweb/resource/
+ url: https://res.runstep.cc/
+ path: /home/javaweb/webresource/runstep/
system:
- job: true
\ No newline at end of file
+ job: false
+ runStep: false
+
+chain:
+ bsc: false
+ trc: false
+
+# rabbitMq 消费者
+# true:启动消费者 false:关闭消费者
+consumer:
+ open: false
\ No newline at end of file
--
Gitblit v1.9.1