couchdb.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. .. _broker-couchdb:
  2. ===============
  3. Using CouchDB
  4. ===============
  5. .. admonition:: Experimental Status
  6. The CouchDB transport is in need of improvements in many areas and there
  7. are several open bugs. Unfortunately we don't have the resources or funds
  8. required to improve the situation, so we're looking for contributors
  9. and partners willing to help.
  10. .. _broker-couchdb-installation:
  11. Installation
  12. ============
  13. For the CouchDB support you have to install additional dependencies.
  14. You can install both Celery and these dependencies in one go using
  15. the ``celery[couchdb]`` :ref:`bundle <bundles>`:
  16. .. code-block:: bash
  17. $ pip install -U celery[couchdb]
  18. .. _broker-couchdb-configuration:
  19. Configuration
  20. =============
  21. Configuration is easy, set the transport, and configure the location of
  22. your CouchDB database::
  23. BROKER_URL = 'couchdb://localhost:5984/database_name'
  24. Where the URL is in the format of::
  25. couchdb://userid:password@hostname:port/database_name
  26. The host name will default to ``localhost`` and the port to 5984,
  27. and so they are optional. userid and password are also optional,
  28. but needed if your CouchDB server requires authentication.
  29. .. _couchdb-results-configuration:
  30. Results
  31. -------
  32. Storing task state and results in CouchDB is currently **not supported**.
  33. .. _broker-couchdb-limitations:
  34. Limitations
  35. ===========
  36. The CouchDB message transport does not currently support:
  37. * Remote control commands (:program:`celery inspect`,
  38. :program:`celery control`, broadcast)