Skip to content

Commit fe9ecd9

Browse files
authored
Merge pull request #314836 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/azure-docs (branch main)
2 parents 565ada7 + 23a083e commit fe9ecd9

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

articles/durable-task/scheduler/durable-task-scheduler-large-payloads.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,16 @@ Then enable large payload storage in [host.json](../../azure-functions/durable-f
8181
"storageProvider": {
8282
"type": "azureManaged",
8383
"connectionStringName": "DTS_CONNECTION_STRING",
84-
"largePayloadStorageEnabled": true,
85-
"largePayloadStorageThresholdBytes": 900000
84+
"payloadStorageEnabled": true,
85+
"payloadStorageThresholdBytes": 900000
8686
},
8787
"hubName": "%TASKHUB_NAME%"
8888
}
8989
}
9090
}
9191
```
9292

93-
Set `largePayloadStorageThresholdBytes` below the Durable Task Scheduler message size boundary so the runtime externalizes payloads before they approach the limit.
93+
Set `payloadStorageThresholdBytes` below the Durable Task Scheduler message size boundary so the runtime externalizes payloads before they approach the limit.
9494

9595
Use the standard Durable Functions APIs in your orchestrator and activity code. The runtime automatically resolves blob references before `context.GetInput<T>()` and `context.CallActivityAsync<T>()` return data.
9696

@@ -145,7 +145,7 @@ Register an externalized payload store, choose a threshold, and enable payload r
145145
```csharp
146146
builder.Services.AddExternalizedPayloadStore(options =>
147147
{
148-
options.ExternalizeThresholdBytes = 900_000;
148+
options.ThresholdBytes = 900_000;
149149
options.ConnectionString = builder.Configuration["PAYLOAD_STORAGE_CONNECTION_STRING"]
150150
?? "UseDevelopmentStorage=true";
151151
options.ContainerName = "durabletask-payloads";
@@ -166,7 +166,7 @@ builder.Services.AddDurableTaskWorker(worker =>
166166

167167
If you use Microsoft Entra ID instead of a storage connection string, set `options.AccountUri` and `options.Credential`. The sample uses `DefaultAzureCredential` and can optionally target a user-assigned managed identity.
168168

169-
Keep `ExternalizeThresholdBytes` at or below `1,048,576` bytes. The sample uses `900,000` bytes so payloads are offloaded before they approach the 1 MiB scheduler message boundary.
169+
Keep `ThresholdBytes` at or below `1,048,576` bytes. The sample uses `900,000` bytes so payloads are offloaded before they approach the 1 MiB scheduler message boundary.
170170

171171
For an end-to-end .NET example, see the [Durable Task SDK large payload sample](https://github.com/Azure-Samples/Durable-Task-Scheduler/tree/main/samples/durable-task-sdks/dotnet/LargePayload).
172172

0 commit comments

Comments
 (0)