1、安装rabbitMQ(与python无关)
https://www.cnblogs.com/libra0920/p/7920698.html
2、python+rabbitMQ实现生产者和消费者模式
https://www.cnblogs.com/andy9468/p/10643296.html
3、消息队列持久化
https://www.cnblogs.com/andy9468/p/10643537.html
4、消息确认机制ack
https://blog.csdn.net/qq_23934063/article/details/78789956