Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 1.82 KB

README.md

File metadata and controls

33 lines (27 loc) · 1.82 KB

Cassandra Backend for Datahike

This is a backend for Datahike that enables you to utilize an Apache Cassandra as a durable store.

Status

Configuration

Provide a configuration like this:

(def config {:store {:backend :cassandra
                     :session-keyspace "datahike_cassandra_integration_test"}
             :schema-flexibility :write
             :keep-history? true})

You can find information on possible configuration for your Cassandra on the DataStax website. And you can find information for configuring Datahike on cljdoc.

Development and Testing

Run a cassandra container with your favorite container runtime e.g. Podman.

podman run --detach --publish 9042:9042 --name cassandra docker.io/cassandra:4.1

Run the tests with ./bin/kaocha.

Licensing

datahike-cassandra is licensed under Eclipse Public License - v 1.0.