Currently I am using PostgreSQL 12 in my WSL2 environment, I wish to implement cdc with debezium and kafka. As I am a first timer to do this, My searched all tutorial showing this process with docker.
In my case no issue with docker if it is not about postgres. I dont want to use postgres/docker.
I just simply want to connect debezium and kafka to my existing postgres on disk. please suggest me tutorial or way how i can connect. It will be a huge help. Thanks.
I did these two steps:
step 1
docker run -it --rm --name zookeeper_debezium -p 2181:2181 -p 2888:2888 -p 3888:3888 debezium/zookeeper:1.2
step 2
docker run -it --rm --name kafka -p 9092:9092 --link zookeeper_debezium:zookeeper debezium/kafka:1.2