With cache-expiration configured (e.g. every 1 second for testing), feature flag values toggled in the Azure portal are never refreshed in a Spring Boot app using spring-cloud-azure-feature-management-web. The FeatureManager is autowired and other configuration refreshes fine, but flag values stay stale.
Azure Spring Boot feature flags not refreshed on cache expiration
- Spring Bootframework
- spring-cloud-azure-feature-managementlibrary
- spring-cloud-azure-feature-management-weblibrary
- App Configurationservice
- Azureorganization
The feature-flag naming issue behind this was fixed in the latest spring-cloud-azure-feature-management release, upgrade the library and the refresh works. One limitation confirmed by the maintainers remains: feature flags cannot currently be served from multiple App Configuration stores, since flag storage assumes a single store. That part was split into a separate feature request.
Source: https://github.com/Azure/AppConfiguration/issues/358
Source: https://github.com/Azure/AppConfiguration/issues/358