@514labs/moose-lib 0.6.249-ci-3-gc31139ef → 0.6.249-ci-3-gb716b3e8
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-BTN82akc.d.mts → browserCompatible-CYDIQRRZ.d.mts} +1 -1
- package/dist/{browserCompatible-CoxWbneN.d.ts → browserCompatible-C_H_-QHB.d.ts} +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-CNlTyF6R.d.mts → index-xC52kbse.d.mts} +101 -1
- package/dist/{index-CNlTyF6R.d.ts → index-xC52kbse.d.ts} +101 -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
|
@@ -1322,6 +1322,18 @@ function convertIcebergS3EngineConfig(config) {
|
|
|
1322
1322
|
compression: config.compression
|
|
1323
1323
|
};
|
|
1324
1324
|
}
|
|
1325
|
+
function convertKafkaEngineConfig(config) {
|
|
1326
|
+
if (!("engine" in config) || config.engine !== "Kafka" /* Kafka */) {
|
|
1327
|
+
return void 0;
|
|
1328
|
+
}
|
|
1329
|
+
return {
|
|
1330
|
+
engine: "Kafka",
|
|
1331
|
+
brokerList: config.brokerList,
|
|
1332
|
+
topicList: config.topicList,
|
|
1333
|
+
groupName: config.groupName,
|
|
1334
|
+
format: config.format
|
|
1335
|
+
};
|
|
1336
|
+
}
|
|
1325
1337
|
function convertTableConfigToEngineConfig(config) {
|
|
1326
1338
|
const engine = extractEngineValue(config);
|
|
1327
1339
|
const basicConfig = convertBasicEngineConfig(engine, config);
|
|
@@ -1347,6 +1359,9 @@ function convertTableConfigToEngineConfig(config) {
|
|
|
1347
1359
|
if (engine === "IcebergS3" /* IcebergS3 */) {
|
|
1348
1360
|
return convertIcebergS3EngineConfig(config);
|
|
1349
1361
|
}
|
|
1362
|
+
if (engine === "Kafka" /* Kafka */) {
|
|
1363
|
+
return convertKafkaEngineConfig(config);
|
|
1364
|
+
}
|
|
1350
1365
|
return void 0;
|
|
1351
1366
|
}
|
|
1352
1367
|
var toInfraMap = (registry) => {
|