How to solve Spring Cloud LoadBalancer is currently working with the default cache. You can switch to using Caffeine cache, by adding it to the classpath. warning in spring boot? Answer Add the below library in your pom.xml or in your build.gradle You can replace the suitable/latest version of caffeine.
I want to configure my Caffeine cache to return stale results when loader fails to refresh the cache. The following Kotlin code demonstrates the case: I expect this test to pass but instead I get the following error: I wrote the code in Kotlin but I don’t think the issue is related to Kotlin coroutines. I want to configure Caffeine