V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2019-01-10 12:21:41 +08:00 · 3034 次点击
    这是一个创建于 1923 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

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

    1 条回复    2019-01-13 16:55:07 +08:00
    julyclyde
        1
    julyclyde  
       2019-01-13 16:55:07 +08:00
    请勿拿着锤子看啥都像钉子
    kafka 是可重复读出的,如果有多个 worker 的话,会导致任务重复执行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5963 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 06:22 · PVG 14:22 · LAX 23:22 · JFK 02:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.