@ -78,7 +77,7 @@ public class ReactorLoadBalancerExchangeFilterFunction implements ExchangeFilter
@@ -78,7 +77,7 @@ public class ReactorLoadBalancerExchangeFilterFunction implements ExchangeFilter
if(LOG.isDebugEnabled()){
LOG.debug(String.format(
"Load balancer has retrieved the instance for service %s: %s",
@ -55,8 +59,13 @@ public class CachingServiceInstanceListSupplier implements ServiceInstanceListSu
@@ -55,8 +59,13 @@ public class CachingServiceInstanceListSupplier implements ServiceInstanceListSu
@ -66,7 +75,14 @@ public class CachingServiceInstanceListSupplier implements ServiceInstanceListSu
@@ -66,7 +75,14 @@ public class CachingServiceInstanceListSupplier implements ServiceInstanceListSu
.doOnNext(instances->{
Cachecache=cacheManager
.getCache(SERVICE_INSTANCE_CACHE_NAME);
Objects.requireNonNull(cache).put(key,instances);
if(cache==null){
if(log.isErrorEnabled()){
log.error("Unable to find cache for writing: "+SERVICE_INSTANCE_CACHE_NAME);