public void validate() {
        if (!ignoreDirty || !enableDirtySideOutput) {
            return;
        }
        if (dirtyConnector == null || dirtyConnector.trim().length() == 0) {
            throw new ValidationException(
                    "The option 'dirty.side-output.connector' is not allowed to be empty "
                            + "when the option 'dirty.ignore' is 'true' "
                            + "and the option 'dirty.side-output.enable' is 'true'");
        }
    }
Get dirty options from {@link ReadableConfig}

@param config The config
@return Dirty options
inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/dirty/DirtyOptions.java