What I did
My spring-data-cassandra application was built on top of the 2.7.3 version of Spring Boot, I decided to migrate to 3.0.4 and I discovered that spring.data.cassandra.contact-points is ignored and the application connects to 127.0.0.1:9042 regardless if I changed the value of the setting or not
How to reproduce the problem
The app will start a testcontainers Cassandra container first and then with the help from DynamicProperties amends the spring.data.cassandra.contact-points with the host and port from the started container.
What is expected
The spring.data.cassandra.contact-points config is honored and the app connects to the node that is set in this config
Additional
spring-data-cassandra says I should file a ticket here
Comment From: wilkinsona
You need to use spring.cassandra.contact-points in Boot 3.0 as described in the migration guide. The properties migrator module can help you here.