Hello everyone,
So, I'm about to integrate the Multitenancy (one keyspace per tenant) aspect with spring-boot-starter-data-cassandra-reactive, I tried to find a solution to access into the right keyspace and I found this approach of using the query-builder:
Select select = QueryBuilder.select().from(tenantId,"counter");
select.where(QueryBuilder.eq("id", 1));
Mono<Counter> flux = reactiveCassandraOperations.selectOne(select.toString(), Counter.class);
I found it costly in term of development time, especially if we have an insert request ..
Within your experience is there a practical solution where I can insert the keyspace name with the using of the ReactiveCassandraRepository methods ( save, update, findById ..)
Can you support please and thanks in advance.