UseAzureAppConfiguration and AzureAppConfigurationRefreshMiddleware break context execution
@amerjusupovic がすでに取り組んでいます。
2024年5月10日 から。
評価
この issue はまだ評価されていません。
説明
I have detected that if we make use of ‘UseAzureAppConfiguration’, which in turn internally injects the middleware ‘AzureAppConfigurationRefreshMiddleware’, it breaks the execution of the context of the Eternal Orchestration Functions.
I am using Azure Isolated Function in NET 8, using package ‘Microsoft.Azure.AppConfiguration.Functions.Worker’ in version 7.2.0.
The middleware internally performs an ‘ExecutionContext.SuppressFlow()’, which breaks the execution flow of the context: https://learn.microsoft.com/en-us/dotnet/api/system.threading.executioncontext.suppressflow?view=net-8.0
Right now the solution I am applying is to use ‘AddAzureAppConfiguration’ without ‘UseAzureAppConfiguration’. In my orchestrator constructor I inject ‘IConfigurationRefresherProvider’ to use the configuration refresher in the orchestrator activities.
The problem is not described anywhere and should be checked. Thanks in advance.
- 主要言語
- 言語のデータがありません
- スター
- 263
- フォーク
- 82
- 平均マージ
- 3日 15時間
- マージ済み PR(30日)
- 6
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/AppConfiguration のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
Azure/AppConfiguration#1155 · コメント 3 件 ·
-
question
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
Azure/AppConfiguration#1126 · コメント 5 件 ·
-
enhancement service
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Azure/AppConfiguration#1125 ·
-
enhancement FeatureManagement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
Azure/AppConfiguration#1124 ·
-
enhancement FeatureManagement service
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Azure/AppConfiguration#1123 ·