bus_adapter.py 文件源码

python
阅读 15 收藏 0 点赞 0 评论 0

项目:almanach 作者: internap 项目源码 文件源码
def get_consumers(self, consumer, channel):
        queue = kombu.Queue(config.rabbitmq_queue(), routing_key=config.rabbitmq_routing_key())
        return [consumer(
            [queue],
            callbacks=[self.on_message],
            auto_declare=False)]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号