public static KafkaContainer createKafkaContainer(String dockerImageVersion, Logger logger) {
    return createKafkaContainer(dockerImageVersion, logger, null);
  }
This method helps to set commonly used Kafka configurations and aligns the internal Kafka log
levels with the ones used by the capturing logger.

@param dockerImageVersion describing the Kafka image
@param logger to derive the log level from
@return configured Kafka container
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/test/java/org/apache/amoro/flink/kafka/testutils/KafkaUtil.java