推荐学习书目
› 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

celery 的 broker 可以用 kafka 么?

  •  
  •   fxxkgw · Jan 10, 2019 · 3660 views
    This topic created in 2825 days ago, the information mentioned may be changed or developed.

    看了 celery 的文档,在 4.2 版本中,讲到稳定支持的有 RabbitMQ、Redis、Amazon SQS (不了解)、Zookeeper (试验阶段)

    http://docs.celeryproject.org/en/master/getting-started/brokers/index.html

    没看到有队 kafka 的支持,实际测试了也没成功过,有相关实现的同学么?

    1 replies  •  2019-01-13 16:55:07 +08:00
    julyclyde
        1
    julyclyde  
       Jan 13, 2019
    请勿拿着锤子看啥都像钉子
    kafka 是可重复读出的,如果有多个 worker 的话,会导致任务重复执行
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2323 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:34 · PVG 14:34 · LAX 23:34 · JFK 02:34
    ♥ Do have faith in what you're doing.