You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix large payload setting names to match latest durabletask-dotnet main branch
Update host.json setting names from largePayloadStorageEnabled/largePayloadStorageThresholdBytes
to payloadStorageEnabled/payloadStorageThresholdBytes to match the actual sample at
Azure-Samples/Durable-Task-Scheduler.
Update SDK option property name from ExternalizeThresholdBytes to ThresholdBytes to match
the LargePayloadStorageOptions class in microsoft/durabletask-dotnet main branch.
Co-authored-by: Copilot <[email protected]>
Copy file name to clipboardExpand all lines: articles/durable-task/scheduler/durable-task-scheduler-large-payloads.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,16 +80,16 @@ Then enable large payload storage in [host.json](../../azure-functions/durable-f
80
80
"storageProvider": {
81
81
"type": "azureManaged",
82
82
"connectionStringName": "DTS_CONNECTION_STRING",
83
-
"largePayloadStorageEnabled": true,
84
-
"largePayloadStorageThresholdBytes": 900000
83
+
"payloadStorageEnabled": true,
84
+
"payloadStorageThresholdBytes": 900000
85
85
},
86
86
"hubName": "%TASKHUB_NAME%"
87
87
}
88
88
}
89
89
}
90
90
```
91
91
92
-
Set `largePayloadStorageThresholdBytes` below the Durable Task Scheduler message size boundary so the runtime externalizes payloads before they approach the limit.
92
+
Set `payloadStorageThresholdBytes` below the Durable Task Scheduler message size boundary so the runtime externalizes payloads before they approach the limit.
93
93
94
94
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.
95
95
@@ -144,7 +144,7 @@ Register an externalized payload store, choose a threshold, and enable payload r
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.
167
167
168
-
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.
168
+
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.
169
169
170
170
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).
0 commit comments