private boolean maybeOverride(String key, String value, boolean override) {
    boolean overridden = false;
    String userValue = kafkaProperties.getProperty(key);
    if (userValue != null) {
      if (override) {
        LOG.warn(
            String.format(
                "Property %s is provided but will be overridden from %s to %s",
                key, userValue, value));
        kafkaProperties.setProperty(key, value);
        overridden = true;
      }
    } else {
      kafkaProperties.setProperty(key, value);
    }
    return overridden;
  }
Build the {@link LogKafkaSource}.

@return a LogKafkaSource with the settings made for this builder.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/read/source/log/kafka/LogKafkaSourceBuilder.java