Cassandra.ToolsAboutKnowledge Base

liquibase-cassandra

https://github.com/liquibase/liquibase-cassandra liquibase (1306) liquibase/liquibase-cassandra (32)
Languages:Java, Groovy, CQL
Templates:Cassandra
License:Apache 2.0

liquibase-cassandra

Liquibase extension for Cassandra Support.

Setup local test environment

start cassandra

docker run -p 9042:9042 --rm --name mycassandra -d cassandra

get ip

docker inspect mycassandra

start another instance for cqlsh

docker run -it --rm cassandra bash

> cqlsh 172.17.0.2

execute the following CQL:

CREATE KEYSPACE betterbotz
  WITH REPLICATION = { 
   'class' : 'SimpleStrategy', 
   'replication_factor' : 1 
  };

© 2020 Anant Corporation, All Rights Reserved. All logos, trademarks and registered trademarks are the property of their respective owners.