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

node
python
astra

GitHub - Anant/Cassandra.Api: Open Source Application for DataStax Astra

Anant

3/7/2024

cassandra
python

Checkout Planet Cassandra

Claim Your Free Planet Cassandra Contributor T-shirt!

Make your contribution and score a FREE Planet Cassandra Contributor T-Shirt! 
We value our incredible Cassandra community, and we want to express our gratitude by sending an exclusive Planet Cassandra Contributor T-Shirt you can wear with pride.

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