@SuppressWarnings("EqualsBetweenInconvertibleTypes")
    public byte[] getBytes(String key, byte[] defaultValue) {

        Object o = getRawValue(key);
        if (o == null) {
            return defaultValue;
        } else if (o.getClass().equals(byte[].class)) {
            return (byte[]) o;
        } else {
            LOG.warn("Configuration cannot evaluate value {} as a byte[] value", o);
            return defaultValue;
        }
    }
Returns the value associated with the given key as a byte array.

@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