Skip to content

Commit 44e8077

Browse files
committed
Merge branch '2.3.x'
Closes gh-22889
2 parents 5e04e1f + ac7320d commit 44e8077

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4738,8 +4738,14 @@ If the port is the same for all your contact points you can use a shortcut and o
47384738
TIP: Those two examples are identical as the port default to `9042`.
47394739
If you need to configure the port, use `spring.data.cassandra.port`.
47404740

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`.
47424747
The `CqlSession` can be customized with a bean of type `CqlSessionBuilderCustomizer`.
4748+
====
47434749

47444750
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.
47454751

0 commit comments

Comments
 (0)