Azure / durabletask

Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
Apache License 2.0
1.51k stars 290 forks source link

WindowsAzure.Storage is deprecated #982

Open hirenchalodiya1 opened 12 months ago

hirenchalodiya1 commented 12 months ago

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

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

cgillum commented 11 months ago

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.

ivaliyivanov commented 10 months ago

@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?

cgillum commented 10 months ago

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

cgillum commented 7 months ago

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.

hirenchalodiya1 commented 7 months ago

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.

anmandav commented 7 months ago

@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.

tomzhu1 commented 5 months ago

@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?

nytian commented 5 months ago

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

eldojk commented 4 months ago

@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?

nytian commented 4 months ago

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.

eldojk commented 4 months ago

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.

myagley commented 4 months ago

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?

nytian commented 1 month ago

@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