@514labs/moose-lib 0.6.260 → 0.6.262

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.
@@ -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) => {