Illustration Image

Cassandra.Link

The best knowledge base on Apache Cassandra®

Helping platform leaders, architects, engineers, and operators build scalable real time data platforms.

5/16/2023

Reading time:N/A min

celery.backends.cassandra — Celery 5.2.7 documentation

by John Doe

This document describes the current stable version of Celery (5.2). 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, **kwargs)[source]Cassandra backend utilizing DataStax driver.Raisescelery.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 = Nonehostname.TypeList of Cassandra servers with formatsupports_autoexpire = TrueIf true the backend must automatically expire results. The daily backend_cleanup periodic task won’t be triggered in this case.

Illustration Image

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

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

Related Articles

serverless
python
google.cloud

Cloud Functions (Python SDK) · datastaxdevs/awesome-astra Wiki

datastaxdevs

2/17/2022

cassandra
python

Need Cassandra Training?

we got you covered

Anant US provides online training for Apache Cassandra that covers all the important skills you need to know in order to work with this high performance, open source NoSQL database.

Join Our Newsletter!

Sign up below to receive email updates and see what's going on with our company

Explore Related Topics

AllKafkaSparkScyllaSStableKubernetesApiGithubGraphQl

Explore Further

cassandra