Provides support to increase developer productivity in Java when using Apache Cassandra. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
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
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
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 to3.0.4
and I discovered thatspring.data.cassandra.contact-points
is ignored and the application connects to127.0.0.1:9042
regardless if I changed the value of the setting or notHow to reproduce the problem
2.7.3
with3.0.4
heremvn test
The app will start a testcontainers Cassandra container first and then with the help from
DynamicProperties
amends thespring.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