Closed
Description
While trying to use spring-data-cassandra with 2.3.5.RELEASE when trying to connect to cassandra getting below error
Caused by: com.datastax.oss.driver.api.core.DriverTimeoutException: query 'SELECT * FROM system_schema.tables' timed out after PT2S
I have configured these properties still don't know why timeout is considered to be PT2S
spring:
profiles:
active: mockdata,standalone
data:
cassandra:
request:
timeout: 120000
connect-timeout-millis: 10000
read-timeout-millis: 10000
connect-timeout: 10000
read-timeout: 10000
pool:
pool-timeout: 10000
connection:
connect-timeout: 120000
init-query-timeout: 120000
Also tried to use DriverConfigLoaderBuilderCustomizer as specified here https://stackoverflow.com/questions/61332483/spring-boot-2-3-0-m4-cassandra-and-ssl but not able to overwrite the time
but cant see DriverConfigLoaderBuilderCustomizer Bean being invoked at all any config I am missing that needs to be done.