spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
808 stars 540 forks source link

ConsulReactiveDiscoveryClient supports fault when consul cluster unavailable #751

Closed chenzhiguo closed 1 year ago

chenzhiguo commented 2 years ago

ConsulReactiveDiscoveryClient should support the backup service list function. If the consul cluster is not available, the data should be returned to the last successful request.

ryanjbaxter commented 2 years ago

Looks like you have a potential fix in your fork, would you like to submit that as a PR to the project?

chenzhiguo commented 2 years ago

Yeah, I have submit the PR(#752).

spencergibb commented 1 year ago

See comment here https://github.com/spring-cloud/spring-cloud-consul/pull/752#issuecomment-1462561443