feat:【IoT 物联网】增加 redis + event-bus 的实现

This commit is contained in:
YunaiV
2025-06-14 20:53:29 +08:00
parent 69e25eeaac
commit 19cf311b7e
13 changed files with 160 additions and 48 deletions

View File

@@ -31,7 +31,7 @@ yudao:
# 针对引入的 EMQX 组件的配置
# ====================================
emqx:
enabled: true
enabled: false
http-port: 8090 # MQTT HTTP 服务端口
mqtt-host: 127.0.0.1 # MQTT Broker 地址
mqtt-port: 1883 # MQTT Broker 端口
@@ -44,7 +44,7 @@ yudao:
# 消息总线配置
message-bus:
type: rocketmq # 本地开发使用 RocketMQ
type: redis # 本地开发使用 RocketMQ
--- #################### 日志相关配置 ####################

View File

@@ -37,14 +37,14 @@ yudao:
# 针对引入的 EMQX 组件的配置
# ====================================
emqx:
enabled: true
enabled: false
mqtt-ssl: false
mqtt-topics:
- "/sys/#" # 系统主题
# 消息总线配置
message-bus:
type: rocketmq # 消息总线的类型
type: redis # 消息总线的类型
--- #################### 日志相关配置 ####################