Cassandra Schema Generator

Use the tool below to generate the schema creation script for your Stacksaga Cassandra event store.

Enter your service name, region, and cluster name, then click the generate button. The schema creation script will be generated based on your inputs. You can copy or download the .cql file and execute it in your Cassandra database to create the necessary tables.

Make sure to confirm the exact version in the schema-generator tool before executing the generated script.
If you deploy the application in multiple regions or clusters, you must run the generator separately for each combination of service name, region, and cluster. Each run produces a distinct set of Generated Tables (with a different hash suffix), while the Constant Tables are the same across all runs.

StackSaga Cassandra Schema Generator

Version 1.0.0-SNAPSHOT

Enter the application's identity to resolve the dynamic table names (retention & immediate-retry tables) and produce a ready-to-run CQL script.

Table names are derived exactly as TableManager.getTableName(prefix, number, service, region, cluster) does: prefix_number_md5(service_region_cluster).

Generated Tables Dynamic

Retention & immediate-retry table names, resolved from the application name, region and cluster you entered.


    

Constant Tables Static

Fixed table names — identical for every application, region and cluster.


    

Submit the form above to generate the script.