public static boolean mixedFormatWALWriterEnable(
      Map<String, String> properties, String emitMode) {
    boolean streamEnable =
        CompatiblePropertyUtil.propertyAsBoolean(
            properties, ENABLE_LOG_STORE, TableProperties.ENABLE_LOG_STORE_DEFAULT);

    if (emitMode.contains(MixedFormatValidator.MIXED_FORMAT_EMIT_LOG)) {
      if (!streamEnable) {
        throw new ValidationException(
            "emit to kafka was set, but no kafka config be found, please set kafka config first");
      }
      return true;
    } else if (emitMode.equals(MixedFormatValidator.MIXED_FORMAT_EMIT_AUTO)) {
      LOG.info(
          "mixed-format emit mode is auto, and the mixed-format table {} is {}",
          ENABLE_LOG_STORE,
          streamEnable);
      return streamEnable;
    }

    return false;
  }
An util that loads mixed-format table, build mixed-format log writer and so on.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/MixedFormatUtils.java