621 questions
2
votes
1
answer
156
views
How to get Cassandra driver metrics with AbstractCassandraConfiguration?
I'm trying to get driver metrics for Apache Cassandra via Prometheus from my Spring Boot 4 application which uses Spring Data Cassandra. The Cassandra config is done via an extension of ...
1
vote
1
answer
65
views
How to stop Spring Data Cassandra from automatically connecting
I have a spring boot 4 application that uses Cassandra as a data store. I am trying to use the Java 25 aot cache to do a training run in my docker file:
RUN java -XX:AOTCacheOutput=mycache.aot -jar my ...
0
votes
0
answers
60
views
Spring Data Cassandra returns only 2 rows while there are 148
The query in ScyllaDB when run in console in IntelliJ returns 148 rows.
select * from posts where author_id=f7af0560-d30a-4e84-adca-ca3acd956d17 ALLOW FILTERING
But when I run it in Spring ...
0
votes
1
answer
47
views
Maven Resolving Incorrect Dependency for Cassandra Drivers
I have my POM file declared like this:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3....
2
votes
0
answers
49
views
Spring Data CassandraDriverTimeoutException
I'm getting sporadic timeout exceptions from the Cassandra driver in a Spring Boot project, in spite of having what I think are the appropriate yml configuration properties.
spring:
cassandra:
...
0
votes
1
answer
237
views
Java driver keeps reconnecting to old Cassandra pod IPs but pods have new IPs after restart
I have deployed a Java application as a pod in a Kubernetes environment, as well as Cassandra with a 3-node cluster. I am using Cassandra service FQDN to connect to Cassandra. Due to the Cassandra pod ...
1
vote
2
answers
63
views
Query for the most recent file version in a folder
I'm trying to get all the file_id items for the most recent version for the specified folder_id for the example_table defined below in Cassandra. Is this possible, or is my data designed incorrectly ...
0
votes
0
answers
117
views
Spring Data Cassandra customizing CqlSession and load properties from application.yml automatically?
I want to acquire the CqlSession Builder to customize my CqlSession when using Spring Data Cassandra.
As I already put keyspace-name and local-datacenter in my application.yml, I hope something like ...
1
vote
2
answers
289
views
Unable to connect to the remote Cassandra datacenter with the options provided in error
I'm trying to connect to two of my remote contact points using the Cassandra CqlSession class. I'm using spring boot 3.3.3 and spring-data-cassandra 4.3.3. Below are the datastax driver dependencies ...
-1
votes
1
answer
95
views
Connect multiple cassandra DB in spring boot application
Am trying to connect to multiple cassandra DB in springboot application,But when i ran cassandra query from repository class to get data from CassandraConfig2 am getting below error unconfigured table ...
0
votes
2
answers
633
views
Spring Boot Cassandra Connectivity Issue: Can't Connect to DataStax Astra DB
I'm working on a Spring Boot application that integrates with DataStax Astra DB using the Astra secure bundle. However, I’m encountering persistent issues when trying to establish a connection to the ...
1
vote
1
answer
94
views
Create Statement in Spring Data Cassandra
How can I create a Statement using Spring Data Cassandra in a way that spring would handle type conversion as well?
If I have a simple query with simple types, I could write something like this:
...
0
votes
2
answers
59
views
Spring in Action, Sixth Edition page 96, docker commands errors
To the point I'm at I have run the following commands in my vs code terminal
docker network create cassandra-net
docker run --name my-cassandra --network cassandra-net -p 9042:9042 -d cassandra:latest
...
1
vote
1
answer
157
views
Spring Data Cassandra adhere Batch Limit
Using CassandraTemplate in spring I get a batchOps and then insert values in a batch
CassandraBatchOperations batchOps = cassandraTemplate.batchOps();
batchOps.insert(listOfEntities);
batchOps.execute(...
0
votes
1
answer
260
views
Spring data cassandra - com.datastax.oss.driver.api.core.auth.AuthenticationException
I have a spring boot app trying to connect to scyllaDB, and the dependencies used are,
1)"org.springframework.boot:spring-boot-starter-data-cassandra:2.7.9",
2) "org....