Start cassandra via docker with the docker maven plugin:
mvn -PdockerITs docker:start
Confirm that cassandra is running:
docker ps
Confirm that host and post(s) are in property file:
cat cassandra.properties
Create a local file cassandra.conf with cluster details:
cassandra {
host = ${cassandra.tcp.host}
port = ${cassandra.tcp.port}
}
When configuring a stream, include these files:
include "cassandra.properties" include "cassandra.conf"
Supply application-specific configuration as well:
cassandra {
keyspace = test_keyspace1
table = test_table1
partitionKeyColumn = key
column = value
}
When running integration testing, cassandra.properties must be in the root of the streams project repository.