Skip to content

mgzk/store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Example Cassandra project

This spring boot application illustrates the use of Cassandra.

##Instalation

  1. Install Datastax Opscenter

https://www.datastax.com/products/datastax-opscenter

  1. Create cluster, datacenter and nodes

  2. Create keyspace and table

CREATE KEYSPACE IF NOT EXISTS store WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'Cassandra' : 2 }; CREATE TABLE store.product (id uuid PRIMARY KEY, name text, price decimal, expiry timestamp);

  1. Complete application.properties

About

Demo project for Cassandra cluster

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages