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
@@ -4658,8 +4658,14 @@ If the port is the same for all your contact points you can use a shortcut and o
4658
4658
TIP: Those two examples are identical as the port default to `9042`.
4659
4659
If you need to configure the port, use `spring.data.cassandra.port`.
4660
4660
4661
-
You can also register an arbitrary number of beans that implement `DriverConfigLoaderBuilderCustomizer` for more advanced driver customizations.
4661
+
[NOTE]
4662
+
====
4663
+
The Cassandra driver has its own configuration infrastructure that loads an `application.conf` at the root of the classpath.
4664
+
4665
+
Spring Boot does not look for such a file and rather provides a number of configuration properties via the `spring.data.cassandra.*` namespace.
4666
+
For more advanced driver customizations, you can register an arbitrary number of beans that implement `DriverConfigLoaderBuilderCustomizer`.
4662
4667
The `CqlSession` can be customized with a bean of type `CqlSessionBuilderCustomizer`.
4668
+
====
4663
4669
4664
4670
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