Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Accelerometer to Cassandra REST Api
@PropertySource(value = { "" })
public class CassandraConfiguration extends AbstractCassandraConfiguration {
private Environment environment;
public CassandraClusterFactoryBean cluster() {
CassandraClusterFactoryBean cluster = new CassandraClusterFactoryBean();
return cluster;
protected String getKeyspaceName() {
return environment.getProperty("cassandra.keyspace");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.