@514labs/moose-lib 0.6.257 → 0.6.258-ci-6-g3ec391fc
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.mjs
CHANGED
|
@@ -1325,6 +1325,18 @@ function convertIcebergS3EngineConfig(config) {
|
|
|
1325
1325
|
compression: config.compression
|
|
1326
1326
|
};
|
|
1327
1327
|
}
|
|
1328
|
+
function convertKafkaEngineConfig(config) {
|
|
1329
|
+
if (!("engine" in config) || config.engine !== "Kafka" /* Kafka */) {
|
|
1330
|
+
return void 0;
|
|
1331
|
+
}
|
|
1332
|
+
return {
|
|
1333
|
+
engine: "Kafka",
|
|
1334
|
+
brokerList: config.brokerList,
|
|
1335
|
+
topicList: config.topicList,
|
|
1336
|
+
groupName: config.groupName,
|
|
1337
|
+
format: config.format
|
|
1338
|
+
};
|
|
1339
|
+
}
|
|
1328
1340
|
function convertTableConfigToEngineConfig(config) {
|
|
1329
1341
|
const engine = extractEngineValue(config);
|
|
1330
1342
|
const basicConfig = convertBasicEngineConfig(engine, config);
|
|
@@ -1350,6 +1362,9 @@ function convertTableConfigToEngineConfig(config) {
|
|
|
1350
1362
|
if (engine === "IcebergS3" /* IcebergS3 */) {
|
|
1351
1363
|
return convertIcebergS3EngineConfig(config);
|
|
1352
1364
|
}
|
|
1365
|
+
if (engine === "Kafka" /* Kafka */) {
|
|
1366
|
+
return convertKafkaEngineConfig(config);
|
|
1367
|
+
}
|
|
1353
1368
|
return void 0;
|
|
1354
1369
|
}
|
|
1355
1370
|
var toInfraMap = (registry) => {
|