Azure/durabletask

WindowsAzure.Storage is deprecated

hirenchalodiya1 opened this issue ยท 13 comments

WindowsAzure.Storage package is deprecated and replacement package is Azure.Storage.Common

This package is being used in Microsoft.Azure.DurableTask.AzureStorage.

We're actively working on replacing this package's usage of the deprecated storage SDK with the latest Azure Storage SDKs. The updated implementation can be found in the azure-storage-v12 branch.

@nytian can speak further about when the updated package will be released to nuget.org.

@cgillum, Hi we also have a dependency on this library and we need to switch to Azure.Storage.Common as well. Do you have any ETA for a new durable task framework which supports Azure.Storage.Common?

@ivaliyivanov if all goes well, the updated Microsoft.Azure.DurableTask.AzureStorage package (which uses the newer storage SDK) should be released sometime next week.

The Microsoft.Azure.DurableTask.AzureStorage 2.0.0-rc nuget package, which uses the non-deprecated Azure Storage SDKs, is now available (since December). The team is still doing some validations and we hope to publish a non "RC" version soon (no issues have been found with the RC version, but we just want to be careful). It would be great if folks could give this package a try and let us know if any issues are encountered.

I believe new package takes storage account name and generates public endpoint. This may not be true for non-public cloud, It would be great if there is endpoint suffix option as well in stable release.

@cgillum
Tried with this prerelease version now with Azurite 3.28.0 and observed following:

The first ever orchestration that we scheduled seems to be lost and not executed at all. The following orchestrations that we schedule seems to be executing.

@cgillum @nytian, do you have an expected timeline for when a non-rc version of the v2 package will be available? Are there any known outstanding issues with the branch?

@tomzhu1 It's on our agenda and should be released in GA by the end of June at least.

@nytian @cgillum We want to move to using TokenCredential class to use Managed Identity to connect to azure resources (for both Service bus and Storage account). Will that be supported once this GA version comes out?

Hi, @eldojk That's on our agenda right now and we are targeting release by the end of this month. Managed Identity is supported in both durable functions v2 and v3. You can check on this page for detailed instruction.

Thanks @nytian. We are an internal Microsoft team and use the Durable task framework directly in our code. Right now it connects to storage account via connection string. I'm assuming after June 30, DTF will support using TokenCredential instead of connection string while constructing AzureTableInstanceStore and AzureStorageBlobStore to create a ServiceBusOrchestrationService instance.

Echoing @eldojk we are an internal team and need to turn off local auth on our storage accounts as part of the SFI push. We also use dtfx directly, not via durable functions. We are blocked until we can start using managed identities and dtfx is the last remaining piece.

Is there any update? How has the feedback been on the 2.0-rc release and is that viable?

@Hey myagley, Thanks for your attention to the release. The official release of DTFx.AzureStorage v2 is here :https://www.nuget.org/packages/Microsoft.Azure.DurableTask.AzureStorage. And here is the release notes: https://github.com/Azure/durabletask/releases/tag/durabletask.azurestorage-v2.0.0