marmotdata/cassandra

Discover keyspaces, tables and materialized views from Apache Cassandra clusters

Registry Databases Apache Cassandra Apache Cassandra Databases AssetsLineage Experimental Marmot >=0.13.0 Version 0.4.0 (latest)Version 0.3.0Version 0.2.0Version 0.1.1Version 0.1.0 Source(opens in a new tab) Install

The Cassandra plugin discovers keyspaces, tables and materialized views from Apache Cassandra clusters. It reads the system_schema tables over CQL with the pure-Go gocql driver, so it works with Cassandra 3.0 and later and needs no cgo.

Tables and views are identified in their MRN by keyspace.table, the same identity the OpenMetadata plugin projects for a Cassandra service, so the two routes land on one asset. Set zone to a short name such as prod-eu when you run two servers of the same kind, and it becomes part of every MRN. The name is one you choose, not a cloud availability zone.

Required Permissions

The user needs to read the schema tables, plus the keyspaces it should preview sample data from:

CREATE ROLE marmot_reader WITH PASSWORD = 'your-password' AND LOGIN = true;
GRANT SELECT ON KEYSPACE system_schema TO marmot_reader;
GRANT SELECT ON KEYSPACE your_keyspace TO marmot_reader;

Statistics

Column and index counts are reported per table. A row count is not: Cassandra keeps no row estimate and COUNT(*) is a full cluster scan.

Known Gaps

DataStax Astra secure connect bundles are not supported. Connect with hosts and ssl instead.