@514labs/moose-lib 0.6.248-ci-1-g0f01aa3d → 0.6.248-ci-2-g03866643

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