@514labs/moose-lib 0.6.261 → 0.6.262-ci-2-g39e53084
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{browserCompatible-B_aEflr_.d.ts → browserCompatible-CC6Jamxn.d.ts} +1 -1
- package/dist/{browserCompatible-DnYA4Zgi.d.mts → browserCompatible-GsBQtLKo.d.mts} +1 -1
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.d.mts +1 -1
- package/dist/dmv2/index.d.ts +1 -1
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-rECDLgTX.d.mts → index-B1HsstjQ.d.mts} +34 -1
- package/dist/{index-rECDLgTX.d.ts → index-B1HsstjQ.d.ts} +34 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +15 -0
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +15 -0
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/moose-runner.js
CHANGED
|
@@ -1338,6 +1338,18 @@ function convertIcebergS3EngineConfig(config) {
|
|
|
1338
1338
|
compression: config.compression
|
|
1339
1339
|
};
|
|
1340
1340
|
}
|
|
1341
|
+
function convertKafkaEngineConfig(config) {
|
|
1342
|
+
if (!("engine" in config) || config.engine !== "Kafka" /* Kafka */) {
|
|
1343
|
+
return void 0;
|
|
1344
|
+
}
|
|
1345
|
+
return {
|
|
1346
|
+
engine: "Kafka",
|
|
1347
|
+
brokerList: config.brokerList,
|
|
1348
|
+
topicList: config.topicList,
|
|
1349
|
+
groupName: config.groupName,
|
|
1350
|
+
format: config.format
|
|
1351
|
+
};
|
|
1352
|
+
}
|
|
1341
1353
|
function convertTableConfigToEngineConfig(config) {
|
|
1342
1354
|
const engine = extractEngineValue(config);
|
|
1343
1355
|
const basicConfig = convertBasicEngineConfig(engine, config);
|
|
@@ -1363,6 +1375,9 @@ function convertTableConfigToEngineConfig(config) {
|
|
|
1363
1375
|
if (engine === "IcebergS3" /* IcebergS3 */) {
|
|
1364
1376
|
return convertIcebergS3EngineConfig(config);
|
|
1365
1377
|
}
|
|
1378
|
+
if (engine === "Kafka" /* Kafka */) {
|
|
1379
|
+
return convertKafkaEngineConfig(config);
|
|
1380
|
+
}
|
|
1366
1381
|
return void 0;
|
|
1367
1382
|
}
|
|
1368
1383
|
var toInfraMap = (registry) => {
|