couchdb.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .. _broker-couchdb:
  2. ===============
  3. Using CouchDB
  4. ===============
  5. .. _broker-couchdb-installation:
  6. Installation
  7. ============
  8. For the CouchDB support you have to install additional dependencies.
  9. You can install both Celery and these dependencies in one go using
  10. either the `celery-with-couchdb`_, or the `django-celery-with-couchdb` bundles::
  11. $ pip install -U celery-with-couchdb
  12. .. _`celery-with-couchdb`:
  13. http://pypi.python.org/pypi/celery-with-couchdb
  14. .. _`django-celery-with-couchdb`:
  15. http://pypi.python.org/pypi/django-celery-with-couchdb
  16. .. _broker-couchdb-configuration:
  17. Configuration
  18. =============
  19. Configuration is easy, set the transport, and configure the location of
  20. your CouchDB database::
  21. BROKER_URL = 'couchdb://localhost:5984/database_name'
  22. Where the URL is in the format of::
  23. couchdb://userid:password@hostname:port/database_name
  24. The host name will default to ``localhost`` and the port to 5984,
  25. and so they are optional. userid and password are also optional,
  26. but needed if your CouchDB server requires authentication.
  27. .. _couchdb-results-configuration:
  28. Results
  29. -------
  30. Storing task state and results in CouchDB is currently **not supported**.
  31. .. _broker-couchdb-limitations:
  32. Limitations
  33. ===========
  34. The Beanstalk message transport does not currently support:
  35. * Remote control commands (celeryctl, broadcast)
  36. [Q: What's Beanstalk got to do with CouchDB? what are the CouchDB limitations?]