Skip to content

Spring Boot Application Start-up error - Multiple Cassandra Keyspace configuration #1554

@RmshVe

Description

@RmshVe

Hi,

Multiple Cassandra keyspace configuration works well with Spring 2.7.*. However, after upgrading it to Spring Boot 3.0.0, the application fails to start. The error message states that there are 4 CqlSession beans instead of 1 and bean creation exception is thrown.

I've also followed the below link and the reference code given below. Both are not working.

https://tech.willhaben.at/spring-boot-3-2-x-application-using-cassandra-with-multiple-keyspaces-624f12b6dd48
https://github.com/willhaben/spring-data-with-multiple-keyspaces

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: feedback-reminderWe've sent a reminder that we need additional information before we can continuestatus: waiting-for-feedbackWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions