forked from Azure/Vector-Search-AI-Assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
migrationsettings.template.json
46 lines (46 loc) · 1.41 KB
/
migrationsettings.template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"Source": "JSON",
"Sink": "Cosmos-nosql",
"Operations": [
{
"SourceSettings": {
"FilePath": "https://cosmosdbcosmicworks.blob.core.windows.net/cosmic-works-small/product.json"
},
"SinkSettings": {
"ConnectionString": "{{cosmosConnectionString}}",
"Database":"database",
"Container":"product",
"PartitionKeyPath":"/categoryId",
"RecreateContainer": false,
"BatchSize": 100,
"ConnectionMode": "Direct",
"MaxRetryCount": 5,
"InitialRetryDurationMs": 200,
"CreatedContainerMaxThroughput": 1000,
"UseAutoscaleForCreatedContainer": true,
"WriteMode": "InsertStream",
"IsServerlessAccount": false
}
},
{
"SourceSettings": {
"FilePath": "https://cosmosdbcosmicworks.blob.core.windows.net/cosmic-works-small/customer.json"
},
"SinkSettings": {
"ConnectionString": "{{cosmosConnectionString}}",
"Database":"database",
"Container":"customer",
"PartitionKeyPath":"/customerId",
"RecreateContainer": false,
"BatchSize": 100,
"ConnectionMode": "Direct",
"MaxRetryCount": 5,
"InitialRetryDurationMs": 200,
"CreatedContainerMaxThroughput": 1000,
"UseAutoscaleForCreatedContainer": true,
"WriteMode": "InsertStream",
"IsServerlessAccount": false
}
}
]
}