#cassandra #testing #driver #db #node #scylla

kassandra

Single node kassandra implementation

11 releases (6 breaking)

0.14.0 Sep 2, 2024
0.13.1 Dec 19, 2023
0.13.0 Nov 1, 2023

#1745 in Database interfaces


Used in kassandra-tester

MIT license

260KB
7.5K SLoC

Kassandra

codecov kassandra build

This project aims to provide utilities to help testing applications that uses cassandra as a primary database.

List of supported features:

  • scylla driver support
  • java cassandra driver support
  • datastax cassandra driver support
  • cqlsh driver
  • jdbc driver
  • same aliases support (select name as another name)
  • json support ('select json *, select toJson(name) as smth`)
  • basic queries support (create, insert/upsert, update, delete)
  • batch queries support
  • UDTs
  • prepared queries support (prepare, execute, batch)
  • proper system tables
  • paging support
  • correct paging support

Kassandra Node

nix release

In-memory, single node database implementation that supports cql v4 protocol.

Kassandra Tester

kassandra-tester

Provides a temporary unique socket address to connect to and run unit test. After test is completed, returns a Kassandra instance, which then can be used for snapshot testing.

Dependencies

~13–22MB
~295K SLoC