beanstalk.rst 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. .. _broker-beanstalk:
  2. =================
  3. Using Beanstalk
  4. =================
  5. .. _broker-beanstalk-installation:
  6. Installation
  7. ============
  8. For the Beanstalk support you have to install additional dependencies.
  9. You can install both Celery and these dependencies in one go using
  10. the ``celery[beanstalk]`` :ref:`bundle <bundles>`:
  11. .. code-block:: bash
  12. $ pip install -U celery[beanstalk]
  13. .. _broker-beanstalk-configuration:
  14. Configuration
  15. =============
  16. Configuration is easy, set the transport, and configure the location of
  17. your Beanstalk database::
  18. BROKER_URL = 'beanstalk://localhost:11300'
  19. Where the URL is in the format of::
  20. beanstalk://hostname:port
  21. The host name will default to ``localhost`` and the port to 11300,
  22. and so they are optional.
  23. .. _beanstalk-results-configuration:
  24. Results
  25. -------
  26. Using Beanstalk to store task state and results is currently **not supported**.
  27. .. _broker-beanstalk-limitations:
  28. Limitations
  29. ===========
  30. The Beanstalk message transport does not currently support:
  31. * Remote control commands (:program:`celery control`,
  32. :program:`celery inspect`, broadcast)
  33. * Authentication