refactor(rabbitmq): social.events 只承载通知
All checks were successful
CI/CD / Verify and Deploy (push) Successful in 3m23s
All checks were successful
CI/CD / Verify and Deploy (push) Successful in 3m23s
删除没有消费者的 SocialQueue 队列与 social.unfollow 路由键。SocialMQ 改登记 notification.social。 因此关注事件只走通知链路。social.events 不再是写库副本。 文档同步:解决方案、问题报告、写路径幂等、死信队列、项目设计。 验证:go vet ./... 通过,go test -count=1 ./... 全绿。
This commit is contained in:
@@ -86,7 +86,7 @@ func RetryExchange(queue string) string { return RetryExchangePrefix + queue }
|
||||
func RetryQueueName(queue string) string { return queue + RetryQueueSuffix } // <Q>.retry
|
||||
```
|
||||
|
||||
项目里的 8 个业务队列都会得到自己的一组:`social.events`、`like.events`、`comment.events`、`video.popularity.events`、`notification.like`、`notification.comment`、`notification.social`、`video.timeline.update.queue`。
|
||||
项目里的 7 个业务队列都会得到自己的一组:`like.events`、`comment.events`、`video.popularity.events`、`notification.like`、`notification.comment`、`notification.social`、`video.timeline.update.queue`。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user