spring-data-couchbase icon indicating copy to clipboard operation
spring-data-couchbase copied to clipboard

Start Spring Boot Application even when there are connections errors with Couchbase [DATACOUCH-424]

Open spring-projects-issues opened this issue 6 years ago • 0 comments

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

spring-projects-issues avatar Dec 24 '18 12:12 spring-projects-issues