UseAzureAppConfiguration and AzureAppConfigurationRefreshMiddleware break context execution
@amerjusupovic đang làm issue này rồi.
Từ ngày 10/5/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 263
- Fork
- 82
- Merge trung bình
- 3 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 6
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/AppConfiguration
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
Azure/AppConfiguration#1155 · 3 bình luận ·
-
question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
Azure/AppConfiguration#1126 · 5 bình luận ·
-
enhancement service
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Azure/AppConfiguration#1125 ·
-
Experimentation scorecard Đang mởenhancement FeatureManagement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Azure/AppConfiguration#1124 ·
-
enhancement FeatureManagement service
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Azure/AppConfiguration#1123 ·