mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 20:09:02 +00:00
Create spring-boot-cassandra module
See gh-46104
This commit is contained in:
+2
-2
@@ -501,8 +501,8 @@ The Cassandra driver has its own configuration infrastructure that loads an `app
|
||||
Spring Boot does not look for such a file by default but can load one using `spring.cassandra.config`.
|
||||
If a property is both present in `+spring.cassandra.*+` and the configuration file, the value in `+spring.cassandra.*+` takes precedence.
|
||||
|
||||
For more advanced driver customizations, you can register an arbitrary number of beans that implement javadoc:org.springframework.boot.autoconfigure.cassandra.DriverConfigLoaderBuilderCustomizer[].
|
||||
The `CqlSession` can be customized with a bean of type javadoc:org.springframework.boot.autoconfigure.cassandra.CqlSessionBuilderCustomizer[].
|
||||
For more advanced driver customizations, you can register an arbitrary number of beans that implement javadoc:org.springframework.boot.cassandra.autoconfigure.DriverConfigLoaderBuilderCustomizer[].
|
||||
The `CqlSession` can be customized with a bean of type javadoc:org.springframework.boot.cassandra.autoconfigure.CqlSessionBuilderCustomizer[].
|
||||
====
|
||||
|
||||
NOTE: If you use `CqlSessionBuilder` to create multiple `CqlSession` beans, keep in mind the builder is mutable so make sure to inject a fresh copy for each session.
|
||||
|
||||
+1
-1
@@ -89,7 +89,7 @@ The following service connections are currently supported:
|
||||
| javadoc:org.springframework.boot.autoconfigure.jms.artemis.ArtemisConnectionDetails[]
|
||||
| Containers named "apache/activemq-artemis"
|
||||
|
||||
| javadoc:org.springframework.boot.autoconfigure.cassandra.CassandraConnectionDetails[]
|
||||
| javadoc:org.springframework.boot.cassandra.autoconfigure.CassandraConnectionDetails[]
|
||||
| Containers named "cassandra" or "bitnami/cassandra"
|
||||
|
||||
| javadoc:org.springframework.boot.elasticsearch.autoconfigure.ElasticsearchConnectionDetails[]
|
||||
|
||||
+1
-1
@@ -125,7 +125,7 @@ The following service connection factories are provided in the `spring-boot-test
|
||||
| javadoc:org.springframework.boot.autoconfigure.jms.artemis.ArtemisConnectionDetails[]
|
||||
| Containers of type javadoc:org.testcontainers.activemq.ArtemisContainer[]
|
||||
|
||||
| javadoc:org.springframework.boot.autoconfigure.cassandra.CassandraConnectionDetails[]
|
||||
| javadoc:org.springframework.boot.cassandra.autoconfigure.CassandraConnectionDetails[]
|
||||
| Containers of type javadoc:org.testcontainers.cassandra.CassandraContainer[]
|
||||
|
||||
| javadoc:org.springframework.boot.couchbase.autoconfigure.CouchbaseConnectionDetails[]
|
||||
|
||||
Reference in New Issue
Block a user