This document describes the current stable version of Celery (5.0). For development docs, go here.

celery.backends.cassandra

Apache Cassandra result store backend using the DataStax driver.

class celery.backends.cassandra.CassandraBackend(servers=None, keyspace=None, table=None, entry_ttl=None, port=9042, **kwargs)[source]

Cassandra backend utilizing DataStax driver.

Raises

celery.exceptions.ImproperlyConfigured – if module cassandra-driver is not available, or if the cassandra_servers setting is not set.

as_uri(include_password=True)[source]

Return the backend as an URI, sanitizing the password or not.

servers = None

hostname.

Type

List of Cassandra servers with format

supports_autoexpire = True