beanstalk.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. either the `celery-with-beanstalk`_, or the `django-celery-with-beanstalk`
  11. bundles:
  12. .. code-block:: bash
  13. $ pip install -U celery-with-beanstalk
  14. .. _`celery-with-beanstalk`:
  15. http://pypi.python.org/pypi/celery-with-beanstalk
  16. .. _`django-celery-with-beanstalk`:
  17. http://pypi.python.org/pypi/django-celery-with-beanstalk
  18. .. _broker-beanstalk-configuration:
  19. Configuration
  20. =============
  21. Configuration is easy, set the transport, and configure the location of
  22. your Beanstalk database::
  23. BROKER_URL = 'beanstalk://localhost:11300'
  24. Where the URL is in the format of::
  25. beanstalk://hostname:port
  26. The host name will default to ``localhost`` and the port to 11300,
  27. and so they are optional.
  28. .. _beanstalk-results-configuration:
  29. Results
  30. -------
  31. Using Beanstalk to store task state and results is currently **not supported**.
  32. .. _broker-beanstalk-limitations:
  33. Limitations
  34. ===========
  35. The Beanstalk message transport does not currently support:
  36. * Remote control commands (:program:`celery control`,
  37. :program:`celery inspect`, broadcast)
  38. * Authentication