(Java) OpenFeature provider improve the internal cache management.
· One min read
Until Today the java provider, used the guava cache to store the flags and the segments. Using the guava cache is now discouraged by the guava team.
In order to follow the guidance of the guava team, we have decided to migrate the internal cache of the Java provider from guava
to caffeine
.
This may create a breaking change for you if you were using a custom cache configuration with the guava
cache in your provider.
Because of this, the cache configuration on GoFeatureFlagProviderOptions
that used Guava's CacheBuilder
is now handled by Caffeine
.