public static void validateBrokerLogConfigValues(Map<?, ?> props,
                                                     boolean isRemoteLogStorageSystemEnabled) {
        validateValues(props);
        if (isRemoteLogStorageSystemEnabled) {
            validateRemoteStorageRetentionSize(props);
            validateRemoteStorageRetentionTime(props);
        }
    }
Validates the values of the given properties. Should be called only by the broker.
The `props` supplied doesn't contain any topic-level configs, only broker-level configs.
The default values should be extracted from the KafkaConfig.
@param props The properties to be validated
storage/src/main/java/org/apache/kafka/storage/internals/log/LogConfig.java