TimoKramer / datahike-cassandra

Cassandra backend for Datahike

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Cassandra backend for Datahike

License:Eclipse Public License 1.0


Languages

Language:Clojure 90.5%Language:Shell 9.5%