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