This is a backend for Datahike that enables you to utilize an Apache Cassandra as a durable store.
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.
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
.
datahike-cassandra is licensed under Eclipse Public License - v 1.0.