I'm new to docker and trying to implement debezium for ETL. The problem we are facing is that our db is present on a server that does not involve docker and we wish to connect to that db and capture CDC. My questions is can we connect to the db without changing it? Any guidance will be appreciated. Thank you.
Yes, so long as your Docker container on which Kafka Connect is running has a network route to your MySQL server you will be fine.
Here's an example of Debezium with MySQL; in this instance it connects to MySQL on Docker, but you would just change the "database.hostname": "mysql",
to point to the actual IP or hostname of your MySQL server.