Skip to content
← Back to activity

Public problem

Azure Spring Boot feature flags not refreshed on cache expiration

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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