@514labs/moose-lib 0.6.252-ci-3-g37e54b29 → 0.6.252-ci-5-g3da4ba34
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-DT70VlUr.d.ts} +1 -1
- package/dist/{browserCompatible-DnYA4Zgi.d.mts → browserCompatible-jggiyYK1.d.mts} +1 -1
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js +1 -13
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +1 -13
- 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 +1 -13
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +1 -13
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-rECDLgTX.d.mts → index-BIeuSuej.d.mts} +34 -2
- package/dist/{index-rECDLgTX.d.ts → index-BIeuSuej.d.ts} +34 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -13
- 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.mjs
CHANGED
|
@@ -1309,6 +1309,18 @@ function convertIcebergS3EngineConfig(config) {
|
|
|
1309
1309
|
compression: config.compression
|
|
1310
1310
|
};
|
|
1311
1311
|
}
|
|
1312
|
+
function convertKafkaEngineConfig(config) {
|
|
1313
|
+
if (!("engine" in config) || config.engine !== "Kafka" /* Kafka */) {
|
|
1314
|
+
return void 0;
|
|
1315
|
+
}
|
|
1316
|
+
return {
|
|
1317
|
+
engine: "Kafka",
|
|
1318
|
+
brokerList: config.brokerList,
|
|
1319
|
+
topicList: config.topicList,
|
|
1320
|
+
groupName: config.groupName,
|
|
1321
|
+
format: config.format
|
|
1322
|
+
};
|
|
1323
|
+
}
|
|
1312
1324
|
function convertTableConfigToEngineConfig(config) {
|
|
1313
1325
|
const engine = extractEngineValue(config);
|
|
1314
1326
|
const basicConfig = convertBasicEngineConfig(engine, config);
|
|
@@ -1334,6 +1346,9 @@ function convertTableConfigToEngineConfig(config) {
|
|
|
1334
1346
|
if (engine === "IcebergS3" /* IcebergS3 */) {
|
|
1335
1347
|
return convertIcebergS3EngineConfig(config);
|
|
1336
1348
|
}
|
|
1349
|
+
if (engine === "Kafka" /* Kafka */) {
|
|
1350
|
+
return convertKafkaEngineConfig(config);
|
|
1351
|
+
}
|
|
1337
1352
|
return void 0;
|
|
1338
1353
|
}
|
|
1339
1354
|
var toInfraMap = (registry) => {
|