-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdev.env.example
More file actions
165 lines (157 loc) · 5.5 KB
/
Copy pathdev.env.example
File metadata and controls
165 lines (157 loc) · 5.5 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
# JVM options passed to the Java process running the application.
JAVA_TOOL_OPTIONS = "-XX:ActiveProcessorCount=1 -XX:+UseG1GC -XX:InitiatingHeapOccupancyPercent=35 -XX:G1HeapRegionSize=2m -XX:MaxRAMPercentage=80.0 -XX:+ExitOnOutOfMemoryError -XX:MaxHeapFreeRatio=30 -XX:MinHeapFreeRatio=20 -XX:+UseCompactObjectHeaders -XX:+UnlockExperimentalVMOptions"
# Logical stream identifier used in logging, metrics, and stream context resolution.
STREAMCONTEXT__STREAM_ID = "msql-test-stream"
# Stream implementation kind. For MS SQL Server this is typically MicrosoftSqlServerStream or MicrosoftSqlServerBetaStream.
STREAMCONTEXT__STREAM_KIND = "MicrosoftSqlServerStream"
# Source MS SQL Server JDBC connection string.
ARCANE_FRAMEWORK__MICROSOFT_SQL_SERVER_CONNECTION_URI = "jdbc:sqlserver://<sql_server_endpoint>:<port>;databaseName=<database>;user=<user>;password=<password>;encrypt=true;trustServerCertificate=true;packetSize=16368"
# Iceberg table storage / FileIO settings.
# These are used by Iceberg's S3FileIO when reading and writing table data files
# and metadata files in the S3-compatible object store.
ARCANE_FRAMEWORK__S3_CATALOG_ENDPOINT = "https://example.s3.endpoint.com"
ARCANE_FRAMEWORK__S3_CATALOG_ACCESS_KEY_ID = "X"
ARCANE_FRAMEWORK__S3_CATALOG_SECRET_ACCESS_KEY = "X"
ARCANE_FRAMEWORK__S3_CATALOG_REGION = "eu-central-1"
# General AWS SDK region.
AWS_REGION = "eu-central-1"
# Iceberg REST catalog authentication settings.
# These are used to authenticate to the Iceberg REST catalog service itself,
# for example Lakekeeper. They are not the S3 object-store credentials.
ARCANE_FRAMEWORK__S3_CATALOG_AUTH_CLIENT_URI = "https://example.auth.com/token"
ARCANE_FRAMEWORK__S3_CATALOG_AUTH_CLIENT_ID = "X"
ARCANE_FRAMEWORK__S3_CATALOG_AUTH_CLIENT_SECRET = "X"
ARCANE_FRAMEWORK__S3_CATALOG_AUTH_SCOPE = "openid profile X/.default"
# Trino/JDBC credentials used by the merge service when issuing SQL against
# the target query engine. These are separate from both S3 FileIO credentials
# and Iceberg REST catalog credentials.
ARCANE_FRAMEWORK__JDBC_MERGE_SERVICE_USER = "user"
ARCANE_FRAMEWORK__JDBC_MERGE_SERVICE_PASSWORD = "password"
# For up-to-date configuration refer to .helm/templates/crd-microsoft-sql-server-stream.yaml
STREAMCONTEXT__SPEC = '''
{
"observability": {
"metricTags": {}
},
"sink": {
"icebergCatalog": {
"catalogProperties": {},
"catalogUri": "https://example.catalog.com/catalog",
"maxCatalogInstanceLifetime": "3500 second",
"namespace": "example_namespace",
"warehouse": "example-warehouse"
},
"maintenanceSettings": {
"targetAnalyzeSettings": {
"batchThreshold": 1800,
"includedColumns": []
},
"targetOptimizeSettings": {
"batchThreshold": 60,
"fileSizeThreshold": "512MB"
},
"targetOrphanFilesExpirationSettings": {
"batchThreshold": 60,
"retentionThreshold": "6h"
},
"targetSnapshotExpirationSettings": {
"batchThreshold": 60,
"retentionThreshold": "6h"
}
},
"mergeServiceClient": {
"connectionUrl": "jdbc:trino://example.trino.endpoint.com",
"credentialType": {
"basic": {}
},
"extraConnectionParameters": {
"SSL": "true",
"clientTags": "tag1,tag2",
"explicitPrepare": "false",
"sessionProperties": "min_input_size_per_task:256MB;min_input_rows_per_task:100000"
},
"queryRetryBaseDuration": "1 second",
"queryRetryMaxAttempts": 3,
"queryRetryMode": {
"always": {}
},
"queryRetryOnMessageContents": [
"Encountered too many errors talking to a worker node",
"Failed to load view",
"No worker nodes available",
"splitsInfo already set to",
"Query killed"
],
"queryRetryScaleFactor": 3.0
},
"targetTableFullName": "lakehouse_test.example_schema.example_table",
"targetTableProperties": {
"format": "PARQUET",
"parquetBloomFilterColumns": [],
"sortedBy": []
}
},
"source": {
"buffering": {
"enabled": false,
"strategy": {}
},
"configuration": {
"extraConnectionParameters": {},
"fetchSize": 8,
"schemaName": "dbo",
"tableName": "bkpf"
},
"fieldSelectionRule": {
"essentialFields": [],
"isServerSide": true,
"rule": {
"all": {}
}
}
},
"staging": {
"icebergCatalog": {
"catalogProperties": {},
"catalogUri": "https://example.catalog.com/catalog",
"maxCatalogInstanceLifetime": "3500 second",
"namespace": "sap_afs",
"warehouse": "staging"
},
"table": {
"isUnifiedSchema": true,
"maxRowsPerFile": 10000,
"stagingCatalogName": "example_catalog",
"stagingSchemaName": "example_schema",
"stagingTablePrefix": "example_table"
}
},
"streamMode": {
"backfill": {
"backfillBehavior": "Overwrite",
"backfillStartDate": "2026-01-01T00:00:00Z"
},
"changeCapture": {
"changeCaptureInterval": "60 second",
"changeCaptureJitterSeed": 1,
"changeCaptureJitterVariance": 0.15
}
},
"throughput": {
"advisedBurst": 10000,
"advisedChunkSize": 10000,
"advisedRate": "1 per 15 second",
"shaperImpl": {
"memoryBound": {
"chunkCostMax": 10,
"chunkCostScale": 1,
"fallbackStringTypeSizeEstimate": 50,
"objectTypeSizeEstimate": 4096,
"tableRowCountWeight": 0.02,
"tableSizeScaleFactor": 2,
"tableSizeWeight": 0.02
}
}
}
}
'''