@Override
    public Set<ConfigOption<?>> optionalOptions() {
        Set<ConfigOption<?>> options = new HashSet<>();
        options.add(PORT);
        options.add(DECODING_PLUGIN_NAME);
        options.add(CHANGELOG_MODE);
        options.add(INLONG_METRIC);
        options.add(AUDIT_KEYS);
        options.add(INLONG_AUDIT);
        return options;
    }
Factory for creating configured instance of {@link PostgreSQLTableSource}.
<p>
Copy from com.ververica:flink-connector-postgres-cdc-2.3.0
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/postgres-cdc/src/main/java/org/apache/inlong/sort/postgre/PostgreSQLTableFactory.java