gpt4 book ai didi

azure - 在本地开发环境中运行 Azure Durable Function 时,会创建其他队列和 blob 容器

转载 作者:行者123 更新时间:2023-12-03 01:19:21 28 4
gpt4 key购买 nike

我使用 targetframework:.NET Core 3.1 创建了一个 Azure Durable 函数,每当将条目添加到 Azure 队列时就会触发该函数,进而调用 Orchestrator 函数。此 Orchestrator 功能会触发属于工作流程过程一部分的其他事件功能。在我的本地开发环境中运行此应用程序并使用 local.settings.json 中管理的所有设置时,我注意到在 Azure 门户中创建了一些额外的队列和 Blob 容器。

Azure 队列:

  1. [AzureFunctionAppName]-control-00
  2. [AzureFunctionAppName]-control-01
  3. [AzureFunctionAppName]-control-02
  4. [AzureFunctionAppName]-control-03
  5. testhubname-control-00
  6. testhubname-control-01
  7. testhubname-control-02
  8. testhubname-control-03

Azure Blob 容器:

  1. azure-webjobs-hosts
  2. zure-webjobs- secret
  3. [AzureFunctionAppName]-applease
  4. [AzureFunctionAppName]-租赁
  5. testhubname-applease
  6. testhubname-leases

谁能帮我解决这个问题吗?

最佳答案

Can anyone help me to resolve this issue?

没有问题,这是设计使然:

Azure Storage is the default storage provider for Durable Functions. It uses queues, tables, and blobs to persist orchestration and entity state. It also uses blobs and blob leases to manage partitions. In many cases, the storage account used to store Durable Functions runtime state is the same as the default storage account used by Azure Functions (AzureWebJobsStorage).

但是,如果需要,您可以指定框架使用的单独存储帐户:

However, it's also possible to configure Durable Functions with a separate storage account. The Azure Storage provider is built-into the Durable Functions extension and doesn't have any other dependencies.

( source )

还可以选择使用 different storage provider .

关于azure - 在本地开发环境中运行 Azure Durable Function 时,会创建其他队列和 blob 容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72397086/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com