# 动态线程池组件
dynamic-thread-pool-spring-boot-starter 需要搭配管理端控制台使用(starter组件上报+管理端动态显示线程池列表以及修改)
地址:https://gitee.com/dynamic-thread-pool/dynamic-thread-pool (需要联系我分享+测试)
# starter使用步骤
# 引入依赖
<dependency>
<groupId>top.hjcwzx</groupId>
<artifactId>dynamic-thread-pool-spring-boot-starter</artifactId>
<version>1.0</version>
</dependency>
1
2
3
4
5
2
3
4
5
# 添加配置
dynamic-thread-pool:
config:
enable: true
app-name: test-pool
redisson:
host: localhost
port: 6379
report:
cron: 0/20 * * * * ?
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
# admin管理端使用步骤
修改配置文件中redis地址
server:
port: 19001
redis:
sdk:
config:
host: localhost
port: 6379
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
前端启动 node > 18


← 白名单过滤
