@Configuration @EnableConfigurationProperties(value=CassandraClusterProperties.class) @Import(value=org.springframework.cloud.stream.app.cassandra.CassandraAppClusterConfiguration.CassandraPackageRegistrar.class) public class CassandraAppClusterConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
CassandraAppClusterConfiguration.CassandraKeyspaceInitializerConfiguration
Inner class to execute init scripts on the provided
keyspace . |
Constructor and Description |
---|
CassandraAppClusterConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.boot.autoconfigure.cassandra.ClusterBuilderCustomizer |
clusterBuilderCustomizer(CassandraClusterProperties cassandraClusterProperties) |
static org.springframework.beans.factory.config.BeanPostProcessor |
createKeySpacePostProcessor(org.springframework.boot.autoconfigure.cassandra.CassandraProperties cassandraProperties) |
@Bean @ConditionalOnProperty(prefix="cassandra.cluster", name="createKeyspace") public static org.springframework.beans.factory.config.BeanPostProcessor createKeySpacePostProcessor(org.springframework.boot.autoconfigure.cassandra.CassandraProperties cassandraProperties)
@Bean public org.springframework.boot.autoconfigure.cassandra.ClusterBuilderCustomizer clusterBuilderCustomizer(CassandraClusterProperties cassandraClusterProperties)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.