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


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, bundle_path=None, **kwargs)[source]

Cassandra/AstraDB backend utilizing DataStax driver.


celery.exceptions.ImproperlyConfigured – if module cassandra-driver is not available, or not-exactly-one of the cassandra_servers and the cassandra_secure_bundle_path settings is set.


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

bundle_path = None

Location of the secure connect bundle zipfile (absolute path).

servers = None



List of Cassandra servers with format

supports_autoexpire = True

If true the backend must automatically expire results. The daily backend_cleanup periodic task won’t be triggered in this case.