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
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
@@ -81,16 +81,16 @@ Then enable large payload storage in [host.json](../../azure-functions/durable-f
81
81
"storageProvider": {
82
82
"type": "azureManaged",
83
83
"connectionStringName": "DTS_CONNECTION_STRING",
84
-
"largePayloadStorageEnabled": true,
85
-
"largePayloadStorageThresholdBytes": 900000
84
+
"payloadStorageEnabled": true,
85
+
"payloadStorageThresholdBytes": 900000
86
86
},
87
87
"hubName": "%TASKHUB_NAME%"
88
88
}
89
89
}
90
90
}
91
91
```
92
92
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.
94
94
95
95
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.
96
96
@@ -145,7 +145,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.
168
168
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.
170
170
171
171
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