Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Azure Functions] Simplify large-payload configuration by reusing an existing storage connection

未关闭
#271 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
azure, python
领域
backend, cloud

调研方向

The issue is about simplifying configuration in the azure-functions-durable SDK. Start by reading PR #270 and the existing DFApp.configure_large_payloads method. Understand how Azure Functions storage connections (AzureWebJobsStorage) and the Durable backend are configured. The goal is to design a helper that reuses an existing connection without requiring manual BlobPayloadStore construction. Check the linked Microsoft documentation for host storage settings and Durable Azure Storage connection configuration.

由索引模型根据 Issue 内容生成。

描述

Community feedback wanted

Would you use a simpler way to configure large-payload storage in the azure-functions-durable v2 SDK using a storage connection your Function App already has?

Please add a thumbs-up reaction to this issue if this would help, and comment with your use case. In particular:

  • Would you use the Function App's host storage (AzureWebJobsStorage), a separate Azure Storage backend account, or another named connection?
  • Do you use a connection string, system-assigned managed identity, or user-assigned managed identity? Is local development with Azurite important?
  • Would explicitly choosing a connection name be sufficient, or is automatic discovery of the Durable backend's account important?
  • Is constructing a BlobPayloadStore explicitly a meaningful obstacle today?

This issue is gathering demand and requirements, not committing to an API or delivery timeline.

Context

PR #270 adds explicit configuration through DFApp.configure_large_payloads(payload_store=...). We are keeping that implementation simple: applications supply their own payload store.

A potential follow-up would reuse existing Functions storage configuration so users do not need to construct a blob store or repeat connection-resolution code. Host storage and the Azure Storage Durable backend often use the same account, but can be configured separately.

Possible direction

Illustrative API only; these convenience forms are not implemented:

app.configure_large_payloads()  # Opt in, using AzureWebJobsStorage

app.configure_large_payloads(connection_name="DurableStorage")

Calling the API would remain an explicit opt-in to SDK payload externalization. The existing payload_store=... form would remain available for full control, mutually exclusive with connection-based configuration.

Automatic discovery of the Azure Storage backend's account is a separate option to evaluate based on feedback, rather than a prerequisite for a named-connection helper.

Design considerations

  • Resolve both connection strings and identity-based connection settings, including identity selection and local development behavior.
  • Backend discovery would need to honor effective host configuration, environment overrides, and supported aliases. The Python SDK does not currently receive a resolved backend storage configuration.
  • Account selection must be stable across workers and deployments so existing payload references remain readable. Client bindings targeting other connections also need consideration because payload configuration is currently process-wide.
  • Use a dedicated SDK payload container, not the backend's large-message container. Sharing an account does not make backend purge clean up SDK payload blobs; permissions and retention remain important.
  • Azure Storage backend large-message handling and SDK payload externalization are separate mechanisms. This proposal only simplifies configuration of the latter.

References: Functions host storage settings and Durable Azure Storage connection configuration.

主要语言
Python
星标
40
派生
33
平均合并
7 小时 54 分钟
30 天内合并 PR
5

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/durabletask-python 的其他 Issue

查看 microsoft/durabletask-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。