From dfc6bd30c5448742133e3a72be5df991ebec7e4e Mon Sep 17 00:00:00 2001 From: sangelxiu1 <15781802@163.com> Date: Fri, 15 Aug 2025 13:43:52 +0800 Subject: [PATCH] =?UTF-8?q?##=20Feat=20-=20=E6=B5=8B=E8=AF=95=E7=8E=AF?= =?UTF-8?q?=E5=A2=83&=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/application-test.properties | 23 +++++++++++++++++++ pom.xml | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 bd-third/src/main/resources/application-test.properties diff --git a/bd-third/src/main/resources/application-test.properties b/bd-third/src/main/resources/application-test.properties new file mode 100644 index 0000000..e45a2a1 --- /dev/null +++ b/bd-third/src/main/resources/application-test.properties @@ -0,0 +1,23 @@ + +### 调度中心部署跟地址 [选填]:如调度中心集群部署存在多个地址则用逗号分隔。执行器将会使用该地址进行"执行器心跳注册"和"任务结果回调";为空则关闭自动注册; +xxl.job.admin.addresses=http://172.26.201.166:8181/xxl-job-admin +## 本地 +##xxl.job.admin.addresses=http://192.168.31.139:8880/xxl-job-admin + +# log config +logging.config=classpath:logback.xml + +### 执行器通讯TOKEN [选填]:非空时启用; +xxl.job.accessToken=base_token +### 执行器AppName [选填]:执行器心跳注册分组依据;为空则关闭自动注册 +xxl.job.executor.appname=xxl-job-retail-store +### 执行器注册 [选填]:优先使用该配置作为注册地址,为空时使用内嵌服务 ”IP:PORT“ 作为注册地址。从而更灵活的支持容器类型执行器动态IP和动态映射端口问题。 +xxl.job.executor.address= +### 执行器IP [选填]:默认为空表示自动获取IP,多网卡时可手动设置指定IP,该IP不会绑定Host仅作为通讯实用;地址信息用于 "执行器注册" 和 "调度中心请求并触发任务"; +xxl.job.executor.ip= +### 执行器端口号 [选填]:小于等于0则自动获取;默认端口为9999,单机部署多个执行器时,注意要配置不同执行器端口; +xxl.job.executor.port=8985 +### 执行器运行日志文件存储磁盘路径 [选填] :需要对该路径拥有读写权限;为空则使用默认路径; +xxl.job.executor.logpath=/home/logs/xxl-job/jobhandler +### 执行器日志文件保存天数 [选填] : 过期日志自动清理, 限制值大于等于3时生效; 否则, 如-1, 关闭自动清理功能; +xxl.job.executor.logretentiondays=30 diff --git a/pom.xml b/pom.xml index 240c845..adf7ede 100644 --- a/pom.xml +++ b/pom.xml @@ -437,7 +437,7 @@ 127.0.0.1:8848 - 047fc3a6-b973-4123-a10f-ee7b6c2f6611 + Africa DEFAULT_GROUP @@ -457,7 +457,7 @@ 172.26.201.166:8848 - + Africa DEFAULT_GROUP