ADF自托管集成运行时的并发限制默认为4个,并且此限制不可编辑。然而,可以通过创建多个自托管集成运行时并将它们分配给不同的管道来实现并行处理和并发限制。以下是创建自托管集成运行时的代码示例:
{
"name": "IntegrationRuntimeName",
"type": "Microsoft.DataFactory/factories/integrationRuntimes",
"properties": {
"type": "SelfHosted",
"description": "",
"selfHosted": {
"runtimeVersion": "Default",
"nodeName": "",
"hostServiceUri": ""
}
}
}
创建多个自托管集成运行时后,您需要将它们分配给不同的管道。例如,将两个自托管集成运行时分配给两个不同的管道:
{
"name": "SamplePipeline1",
"properties": {
"activities": [
{
"name": "SampleActivity1",
"type": "Copy",
"inputs": [
{
"referenceName": "SampleDataset1",
"type": "DatasetReference"
}
],
"outputs": [
{
"referenceName": "SampleDataset2",
"type": "DatasetReference"
}
],
"typeProperties": {
"source": {
"type": "BlobSource"
},
"sink": {
"type": "BlobSink"
},
"enableStaging": false,
"integrationRuntime": {
"type": "Managed",
"referenceName": "ManagedIntegrationRuntimeName"
}
}
}
],
"parameters": {}
}
},
{
"name": "SamplePipeline2",
"properties": {
"activities": [
{
"name": "SampleActivity2",
"type": "Copy",
"inputs": [
{
"referenceName": "SampleDataset3",
"type": "DatasetReference"
}
],
"outputs": [
{
"referenceName": "SampleDataset4",
"type": "DatasetReference"
}
],
"typeProperties": {
"source": {
"type": "BlobSource"
},
"sink": {
"type": "BlobSink"
},
"enableStaging": false,
"integrationRuntime": {
"type": "Managed",
"referenceName": "ManagedIntegrationRuntimeName2"
}
下一篇:ADF自托管集成运行时选择主节点