#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

#1723 in Database interfaces

Download history 84/week @ 2024-08-27 50/week @ 2024-09-03 7/week @ 2024-09-10 8/week @ 2024-09-17 45/week @ 2024-09-24 6/week @ 2024-10-01 2/week @ 2024-10-08 1/week @ 2024-10-15

970 downloads per month
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

~12–21MB
~287K SLoC