Kombu: Documentation - pyamqp vs amqp vs librabbitmq

Created on 17 Dec 2012  路  2Comments  路  Source: celery/kombu

The documentation is confusing about which AMQP transport to use.

  • Should I use amqp://, pyamqp://, or librabbitmq://.
  • Should I install PyPi package amqp or pyamqp? If I specify pyamqp, which one is it using?
  • Does the C librabbitmq come in the mongodb package from 10gen? Are there any packages for it for common platforms, or do you have to compile it yourself? http://hg.rabbitmq.com/rabbitmq-c/

Write something here and I'll make a pull request to change the documentation. Thanks!

Most helpful comment

  1. amqp:// is an alias that uses librabbitmq if available, or py-amqp if it's not.
    You'd use pyamqp:// or librabbitmq:// if you want to specify exactly what transport to use.
  2. From Kombu 2.5 it depends on the 'amqp' package by default, so you shouldn't have to install it manually.
    The pyamqp:// transport uses the 'amqp' library (http://github.com/celery/py-amqp)
  3. librabbitmq is not related to mongodb, and is not used by the mongodb transport, so it's unlikely to be included in any mongodb distribution.

When you do 'pip install librabbitmq' it will automatically compile the rabbitmq-c library, so you don't need to have it installed.

All 2 comments

  1. amqp:// is an alias that uses librabbitmq if available, or py-amqp if it's not.
    You'd use pyamqp:// or librabbitmq:// if you want to specify exactly what transport to use.
  2. From Kombu 2.5 it depends on the 'amqp' package by default, so you shouldn't have to install it manually.
    The pyamqp:// transport uses the 'amqp' library (http://github.com/celery/py-amqp)
  3. librabbitmq is not related to mongodb, and is not used by the mongodb transport, so it's unlikely to be included in any mongodb distribution.

When you do 'pip install librabbitmq' it will automatically compile the rabbitmq-c library, so you don't need to have it installed.

I was really tired when I wrote that. Of course librabbitmq doesn't come with mongodb. -_- You answered my question though, saying that it is installed with librabbitmq. I will update docs and send a pull req. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ronnie-webb picture ronnie-webb  路  4Comments

takaomag picture takaomag  路  5Comments

subodh-malgonde picture subodh-malgonde  路  3Comments

mjtamlyn picture mjtamlyn  路  4Comments

software-opal picture software-opal  路  5Comments