feat(mq): 重构用户同步为MQ消息驱动并移除HTTP同步服务
- 将用户同步消息交换机由 DirectExchange 改为 TopicExchange,实现多目标系统路由 - 去除核心系统中用户同步队列定义和消费者,转由各子系统独立消费 - RabbitMQSyncProducer 动态构建 routing key,支持按目标系统路由同步消息 - UserServiceImpl 用户新增和更新后发送同步消息到 websopy 的 MQ 交换机 - 废弃 UserSyncService 中的 HTTP 同步接口,改为通过 MQ 实现用户数据同步 - 删除 UserSyncConsumer,核心系统不再直接消费用户同步消息 - 增加日志输出,便于追踪用户同步消息发送情况 - 保留废弃代码兼容旧引用,方便后续平滑迁移和维护
This commit is contained in:
@@ -11,7 +11,29 @@
|
||||
"usedAt": 1775495439006,
|
||||
"industryId": "all"
|
||||
}
|
||||
],
|
||||
"90ac41da355a447a8c29ed992c8beede": [
|
||||
{
|
||||
"expertId": "SeniorDeveloper",
|
||||
"name": "Will",
|
||||
"profession": "高级开发工程师",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/SeniorDeveloper/SeniorDeveloper.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/SeniorDeveloper/SeniorDeveloper_zh.md",
|
||||
"usedAt": 1775720823455,
|
||||
"industryId": "all"
|
||||
}
|
||||
],
|
||||
"c7ea2a41e7d147e887ab506386658772": [
|
||||
{
|
||||
"expertId": "SeniorDeveloper",
|
||||
"name": "Will",
|
||||
"profession": "高级开发工程师",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/SeniorDeveloper/SeniorDeveloper.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/SeniorDeveloper/SeniorDeveloper_zh.md",
|
||||
"usedAt": 1775720823455,
|
||||
"industryId": "all"
|
||||
}
|
||||
]
|
||||
},
|
||||
"lastUpdated": 1775501968801
|
||||
"lastUpdated": 1775722264733
|
||||
}
|
||||
Reference in New Issue
Block a user