private static ConfigOption<Boolean> getLegacyProperty(ConfigOption<Boolean> configOption) {
    if (configOption == null) {
      return null;
    }
    if (MixedFormatValidator.MIXED_FORMAT_LOG_CONSISTENCY_GUARANTEE_ENABLE
        .key()
        .equals(configOption.key())) {
      return MixedFormatValidator.MIXED_FORMAT_LOG_CONSISTENCY_GUARANTEE_ENABLE_LEGACY;
    } else if (MixedFormatValidator.DIM_TABLE_ENABLE.key().equals(configOption.key())) {
      return MixedFormatValidator.DIM_TABLE_ENABLE_LEGACY;
    }
    return null;
  }
PropertyUtil compatible with legacy flink properties
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/util/CompatibleFlinkPropertyUtil.java