This document describes the current stable version of Celery (4.3). 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.

process_cleanup()[source]

Cleanup actions to do at the end of a task worker process.

servers = None

hostname.

Type:List of Cassandra servers with format
supports_autoexpire = True