I'm having an issue where the snapshot process is looking at all of the tables in my schema rather than just tables in my tables.include.list. This has the side effect of erroring on a table that's not supported, and also requiring supplemental logging on every table in the schema. Is there a way to limit the schema tables to only the one(s) I want monitored?
return io.debezium.config.Configuration.
create()
.with("name", "my-oracle-connector")
.with("connector.class", "io.debezium.connector.oracle.OracleConnector")
.with("offset.storage", "org.apache.kafka.connect.storage.FileOffsetBackingStore")
.with("offset.storage.file.filename", "/Users/don/debezium/my-offset.dat")
.with("
offset.flush.interval.ms", 60000)
.with("
database.server.name", DBHost+"-"+DBName)
.with("database.hostname", DBHost)
.with("database.port", DBPort)
.with("database.user", DBUserName)
.with("database.password", DBPassword)
.with("database.dbname", DBName)
.with("database.history", "io.debezium.relational.history.FileDatabaseHistory")
.with("database.history.file.filename", "/Users/don/debezium/dbhistory.dat")
.with("snapshot.mode", "schema_only")
.with("schema.include.list", "MYSCHEMA")
.with("schema.exclude.list", "MYSCHEMA.BAD_ORACLEAQ_TABLE_Q")
.with("table.include.list", "MYSCHEMA.TABLE1")
.build();