You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4738,8 +4738,14 @@ If the port is the same for all your contact points you can use a shortcut and o
4738
4738
TIP: Those two examples are identical as the port default to `9042`.
4739
4739
If you need to configure the port, use `spring.data.cassandra.port`.
4740
4740
4741
-
You can also register an arbitrary number of beans that implement `DriverConfigLoaderBuilderCustomizer` for more advanced driver customizations.
4741
+
[NOTE]
4742
+
====
4743
+
The Cassandra driver has its own configuration infrastructure that loads an `application.conf` at the root of the classpath.
4744
+
4745
+
Spring Boot does not look for such a file and rather provides a number of configuration properties via the `spring.data.cassandra.*` namespace.
4746
+
For more advanced driver customizations, you can register an arbitrary number of beans that implement `DriverConfigLoaderBuilderCustomizer`.
4742
4747
The `CqlSession` can be customized with a bean of type `CqlSessionBuilderCustomizer`.
4748
+
====
4743
4749
4744
4750
NOTE: If you're using `CqlSessionBuilder` to create multiple `CqlSession` beans, keep in mind the builder is mutable so make sure to inject a fresh copy for each session.
0 commit comments