Debezium Oracle schema.include.list don not work



我们使用Debezium 1.9.4-Final捕获更改并将其发送给ElasticSearch。它起作用了,但有一件事引起了我的兴趣。我们设置了schema。仅过滤我们期望捕获的更改的模式,但是当我们启动连接器时,日志显示已扫描了孔数据库并将其添加到database.server.name主题。数据库非常大,所以真正开始捕获我们设置要捕获的唯一表需要花费很多时间。

部件配置如下:

database.server.name: server_name 
database.dbname: server_name.database
table.include.list: ATBSCH.TB_DROP
schema.include.list: ATBSCH

是否有办法使Debezium只观察schema.include.list属性中所说的模式?

经过一番调查,我找到了解决问题的办法。我想和你的一样。设置如下:

debezium.source.database.history.store.only.captured.tables.ddl = true

它的文档:https://debezium.io/documentation/reference/1.9/connectors/oracle.html#oracle-property-database-history-store-only-captured-tables-ddl

最新更新