Unable to connect to multiple astradb keyspaces from springboot microserviec

Viewed 11

I am new to casasndra and using astradb on aws + springboot as microsrvice (its monolith as of yet). As we quickly reached 200 tables for one keyspace for our application, we are thinking of using multiple keyspaces for multiple modules. Also there is one limitation of using storage index (50 sai per db). Need help to get details about how do I access multiple keyspaces for my spring boot app ?

using org.springframework.boot:spring-boot-starter-data-cassandra


I am using below configurations:

application.yml

astra:
  api:
    application-token: <your_token>
    database-id: <your_db_id>
    database-region: <your_db_region>
  cql:
    enabled: true
    download-scb: 
    enabled: true
    driver-config:
      basic:
        session-keyspace: <your_keyspace>
0 Answers
Related