For a Python Flask application I am using envconsul to read config from Consul KV store and inject it as environment variables into the app and watch for updates.
I am planning migration to Azure and considering switching to Azure App Configuration. Since there is nothing like envconsul (is there?) I will probably use azure-appconfiguration client library. I can see it's easy to plug in and read config, however:
With envconsul and environment variables approach it was easy to run the app locally without Consul - I just needed to set the variables and all works fine. With Azure it seems I need to mock the endpoint or wrap config loading in some abstraction layer. Or is there an easier way?
How do I manage watching for config updates? I see it's possible with SDKs for .NET, but not Python. I could write something like envazureappconfiguration ;) Or manually implement polling. Or maybe somehow pass an event through Event Grid to trigger reload...? Or, again, is there an easier way?