public float getFloat(String key, float defaultValue) {
        Object o = getRawValue(key);
        if (o == null) {
            return defaultValue;
        }

        return convertToFloat(o, defaultValue);
    }
Returns the value associated with the given key as a float.

@param key the key pointing to the associated value
@param defaultValue the default value which is returned in case there is no value
        associated with the given key
@return the (default) value associated with the given key
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/configuration/Configuration.java