[mongodb] Remove no need config option prefix 'debezium.' (#420)

pull/423/head
Jiabao Sun 3 years ago committed by GitHub
parent 40a037d9fc
commit e867c75580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,8 +29,6 @@ import org.apache.flink.table.factories.DynamicTableSourceFactory;
import org.apache.flink.table.factories.FactoryUtil;
import org.apache.flink.table.utils.TableSchemaUtils;
import com.ververica.cdc.debezium.table.DebeziumOptions;
import java.time.ZoneId;
import java.util.HashSet;
import java.util.Set;
@ -177,7 +175,7 @@ public class MongoDBTableSourceFactory implements DynamicTableSourceFactory {
public DynamicTableSource createDynamicTableSource(Context context) {
final FactoryUtil.TableFactoryHelper helper =
FactoryUtil.createTableFactoryHelper(this, context);
helper.validateExcept(DebeziumOptions.DEBEZIUM_OPTIONS_PREFIX);
helper.validate();
final ReadableConfig config = helper.getOptions();

Loading…
Cancel
Save