You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding Storage Backend Selection in host.json (#1702)
These changes allow customers to configure which storage backend they want their app to use (e.g. Azure Storage, MicrosoftSQL, or Netherite) with a new type attribute under durableTask/storageProvider in host.json. The extension will register all storage backend services and then choose which one to use in the DurableTaskExtension constructor. Adding the ability to register all backends and then choose a storage backend allows us to deploy all storage backend packages through extension bundles.
The main changes in this PR are allowing the extension to register a collection of services through dependency injection, adding a Name property in IDurabilityProviderFactory, and choosing the DurabilityProvider by comparing a customers configured type with the Name property in the available IDurabilityProviderFactory implementations.
Resolves#1666
Improved concurrency defaults for the App Service Consumption plan (https://github.com/Azure/azure-functions-durable-extension/pull/1706)
1
+
## New Features
2
+
- Added support to select a storage backend provider when multiple are installed (#1702): Select which storage backend to use by setting the `type` field under `durableTask/storageProvider` in host.json. If this field isn't set, then the storage backend will default to using Azure Storage.
3
+
4
+
- Improved concurrency defaults for the App Service Consumption plan (https://github.com/Azure/azure-functions-durable-extension/pull/1706)
thrownewInvalidOperationException($"Storage provider type ({storageType}) was not found. Available storage providers: {string.Join(", ",factoryNames)}.",e);
0 commit comments