spring-data-couchbase
spring-data-couchbase copied to clipboard
Start Spring Boot Application even when there are connections errors with Couchbase [DATACOUCH-424]
Tal24 opened DATACOUCH-424 and commented
We try to run Spring Boot Application even where there are connections errors with Couchbase. I get a TimeoutException because the 'couchbaseClusterInfo' bean couldn't be initialized and the app crashes.
I saw a related question in stack overflow but this is old, I don't know if it still relevant.There is an answer from 'subhashni' (SDK Engineer at Couchbase), he says that "there isn't continue-on-error property for spring-data-couchbase", I want to know why there isn't such property? and how can we handle this situation when Spring doesn't go up without Couchbase.
I want my app to be up and make retries to connect to Couchbase and initialize the necessary beans.
https://stackoverflow.com/questions/40516286/prevent-spring-boot-startup-failure-on-couchbase-connection-error/40593923#comment94654481_40593923
No further details from DATACOUCH-424