mq 重构:默认的 redis 实现:

1)默认 channel 和 stream key
2)移除 enabled 开关,通过 listener 是否存在来实现
3)调整包名,为接入 rocketmq 作为 mq 实现做准备
This commit is contained in:
YunaiV
2023-10-30 21:15:22 +08:00
parent d048daf7d6
commit c066ea46f9
15 changed files with 51 additions and 114 deletions

View File

@ -145,12 +145,6 @@ yudao:
- cn.iocoder.yudao.module.pay.enums.ErrorCodeConstants
- cn.iocoder.yudao.module.system.enums.ErrorCodeConstants
- cn.iocoder.yudao.module.mp.enums.ErrorCodeConstants
mq:
redis:
pubsub:
enable: false # 是否开启 Redis pubsub 广播消费,默认为 true。这里设置成 false可以按需开启
stream:
enable: false # 是否开启 Redis stream 集群消费,默认为 true。这里设置成 false可以按需开启
tenant: # 多租户相关配置项
enable: true
ignore-urls: