I have some database table with bg_ and cp_ prefix like "bg_table1", "bg_table2" and "cp_table1".There are also some other tables without any prefix such as my_table1, user_action and so forth.
I have two debezium postgreSQL connectors and trying to configure table.whitelist
property by following Debezium - http://debezium.io/docs/connectors/postgresql/#connector-properties. My requirements are as follows:
- in the first connector I want to load the tables whose names start with bg_ or cp_
- in the second connector I want to load the rest of the tables - does not start with bg_ or cp_
I am using something like below in the connector configuration but does not work:
First Connector Config:
"table.whitelist": "public.bg_*,public.cp_*"
Second Connector Config:
"table.whitelist": "" Cannot figure out need your help
It would be great if someone could help me figure it out. Thanks in advance!