AppConfiguration icon indicating copy to clipboard operation
AppConfiguration copied to clipboard

Observable feature flag values

Open andrii-litvinov opened this issue 6 years ago • 2 comments

I just watched ASP.NET Community Standup from May 21st and I really like the idea to have standardized API for feature flags.

In our system we have backend services that don't expose any HTTP API but perform some asynchronous processing or execute tasks on schedule. And it is useful for us to have a notification mechanism for when feature flag value changes. For instance to enable or disable events stream consumer.

In our custom implementation we use RX and expose both synchronous and observable methods to retrieve feature value. Would be nice to have similar possibilities to observe changes of feature flag values in the API that you guys develop.

andrii-litvinov avatar May 25 '19 16:05 andrii-litvinov

Hi @andrii-litvinov, we will be soon rolling out the support of Azure Event Grid. You can then sign up and get notification from Event Grid when any changes are made in an App Configuration store (including feature flags). Will this be a viable solution for you?

zhenlan avatar May 31 '19 04:05 zhenlan

Hey @zhenlan I don't use Azure for hosting my apps, but I can achieve similar behavior when I update feature flag value in the DB. That's what we do in my team. I was thinking of some common way of doing it reflected in the feature flags API you guys design.

andrii-litvinov avatar Jun 03 '19 08:06 andrii-litvinov