Skip to content

Commit

Permalink
Remove Riak result backend settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
thedrow committed Sep 17, 2020
1 parent 9b5f6f5 commit e8b3e84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 79 deletions.
5 changes: 0 additions & 5 deletions celery/app/defaults.py
Expand Up @@ -216,11 +216,6 @@ def __repr__(self):
timeout=Option(type='float'),
save_meta_as_text=Option(True, type='bool'),
),
riak=Namespace(
__old__=old_ns('celery_riak'),

backend_settings=Option(type='dict'),
),
security=Namespace(
__old__=old_ns('celery_security'),

Expand Down
74 changes: 0 additions & 74 deletions docs/userguide/configuration.rst
Expand Up @@ -1583,80 +1583,6 @@ Default: :const:`True`
Should meta saved as text or as native json.
Result is always serialized as text.

.. _conf-riak-result-backend:

Riak backend settings
---------------------

.. note::

The Riak backend requires the :pypi:`riak` library.

To install the this package use :command:`pip`:

.. code-block:: console
$ pip install celery[riak]
See :ref:`bundles` for information on combining multiple extension
requirements.

This backend requires the :setting:`result_backend`
setting to be set to a Riak URL::

result_backend = 'riak://host:port/bucket'

For example::

result_backend = 'riak://localhost/celery

is the same as::

result_backend = 'riak://'

The fields of the URL are defined as follows:

#. ``host``

Host name or IP address of the Riak server (e.g., `'localhost'`).

#. ``port``

Port to the Riak server using the protobuf protocol. Default is 8087.

#. ``bucket``

Bucket name to use. Default is `celery`.
The bucket needs to be a string with ASCII characters only.

Alternatively, this backend can be configured with the following configuration directives.

.. setting:: riak_backend_settings

``riak_backend_settings``
~~~~~~~~~~~~~~~~~~~~~~~~~

Default: ``{}`` (empty mapping).

This is a dict supporting the following keys:

* ``host``

The host name of the Riak server. Defaults to ``"localhost"``.

* ``port``

The port the Riak server is listening to. Defaults to 8087.

* ``bucket``

The bucket name to connect to. Defaults to "celery".

* ``protocol``

The protocol to use to connect to the Riak server. This isn't configurable
via :setting:`result_backend`

.. _conf-dynamodb-result-backend:

AWS DynamoDB backend settings
Expand Down

0 comments on commit e8b3e84

Please sign in to comment.