推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
fxxkgw
V2EX  ›  Python

rabbitmq 怎么设置处理完消息后不发送 ack?

  •  
  •   fxxkgw · Oct 18, 2016 · 3113 views
    This topic created in 3628 days ago, the information mentioned may be changed or developed.

    rabbitmq 默认是任务被取走后,收到 ack 才删除队列中的任务,否则一直等。 现在想把这个功能取消,不需要接受 ack 就清除这个任务 rabbitmqctl 中有这个设置么? 谢谢

    2 replies  •  2016-10-18 21:38:37 +08:00
    nevergreen
        1
    nevergreen  
       Oct 18, 2016
    可以设置 auto delete
    jerray
        2
    jerray  
       Oct 18, 2016
    basic_consume 方法的参数里有个 no_ack 你看下。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2511 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:24 · PVG 09:24 · LAX 18:24 · JFK 21:24
    ♥ Do have faith in what you're doing.