EasyRetry Server 扩展模块

This commit is contained in:
dhb52
2024-03-13 23:09:45 +08:00
parent fb337f57b8
commit df5cbaaea8
24 changed files with 1858 additions and 1 deletions

View File

@ -97,6 +97,19 @@
<artifactId>JustAuth</artifactId>
</dependency>
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>easy-retry-client-starter</artifactId>
</dependency>
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>easy-retry-client-core</artifactId>
</dependency>
<dependency>
<groupId>com.aizuda</groupId>
<artifactId>easy-retry-client-job-core</artifactId>
</dependency>
<!-- skywalking 整合 logback -->
<!-- <dependency>-->
<!-- <groupId>org.apache.skywalking</groupId>-->

View File

@ -24,6 +24,18 @@ powerjob:
server-address: 127.0.0.1:7700
store-strategy: disk
--- # easy-retry 配置
easy-retry:
enabled: true
# 需要在EasyRetry后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务
group-name: "ruoyi_group"
server:
host: 127.0.0.1
port: 1788
# 详见 script/sql/easy_retry.sql `namespace` 表
namespace: ${spring.profiles.active}
--- # 数据源配置
spring:
datasource:

View File

@ -27,6 +27,17 @@ powerjob:
server-address: 127.0.0.1:7700
store-strategy: disk
--- # easy-retry 配置
easy-retry:
enabled: false
# 需要在EasyRetry后台组管理创建对应名称的组,然后创建任务的时候选择对应的组,才能正确分派任务
group-name: "ruoyi_group"
server:
host: 127.0.0.1
port: 1788
# 详见 script/sql/easy_retry.sql `namespace` 表
namespace: ${spring.profiles.active}
--- # 数据源配置
spring:
datasource:

View File

@ -123,6 +123,9 @@ security:
# actuator 监控配置
- /actuator
- /actuator/**
# EasyRetry Job 分派 @see com.aizuda.easy.retry.client.job.core.client.JobEndPoint
- /job/dispatch/v1
- /job/stop/v1
# 多租户配置
tenant: