add:增加redis构建消息队列

This commit is contained in:
fanxb 2020-06-09 10:05:25 +08:00
parent efcc6de2aa
commit 9a9684458c

View File

@ -155,4 +155,6 @@ loop 方法无限循环根据 topic 从 redis 中取数据,如果取到数据
运行项目后调用,`MainController`中的接口即可测试。
完整代码:[github](https://github.com/FleyX/demo-project/tree/master/4.redis-mq)
本文原创发布于:[手把手教你用 redis 实现一个简单的 mq 消息队列](http://www.tapme.top/blog/detail/20200605)