couchdb.rst 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. the ``celery[couchdb]`` :ref:`bundle <bundles>`:
  11. .. code-block:: bash
  12. $ pip install -U celery[couchdb]
  13. .. _broker-couchdb-configuration:
  14. Configuration
  15. =============
  16. Configuration is easy, set the transport, and configure the location of
  17. your CouchDB database::
  18. BROKER_URL = 'couchdb://localhost:5984/database_name'
  19. Where the URL is in the format of::
  20. couchdb://userid:password@hostname:port/database_name
  21. The host name will default to ``localhost`` and the port to 5984,
  22. and so they are optional. userid and password are also optional,
  23. but needed if your CouchDB server requires authentication.
  24. .. _couchdb-results-configuration:
  25. Results
  26. -------
  27. Storing task state and results in CouchDB is currently **not supported**.
  28. .. _broker-couchdb-limitations:
  29. Limitations
  30. ===========
  31. The CouchDB message transport does not currently support:
  32. * Remote control commands (:program:`celery inspect`,
  33. :program:`celery control`, broadcast)