Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Debezium creates Topics for all the tables, even when table.whitelist is specified

I am using Debezium plugin for Kafka Connect to stream MySQL Database changes.

I have explicitly mentioned my whitelist table in the

connector.properties

table.whitelist=tripDriverMapping

database.tables=azuga.tripDriverMapping

enter image description here

Why does Debezium create topics for all the tables in the database? Is there any workaround to avoid creation of all these unnecessary topics as I'm going to consume from only one topic.

like image 294
Sabya Avatar asked Nov 19 '25 12:11

Sabya


1 Answers

The correct configuration for the connector is:

database.whitelist=azuga
table.whitelist=azuga.tripDriverMapping

database.whitelist might be optional

like image 87
medvekoma Avatar answered Nov 21 '25 10:11

medvekoma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!