cdcdb
: example demo program the connects to a database and receive some message events(insert
, update
, delete
, ...)
- PostgreSQL 13.2 : Write-Ahead Logging (WAL)
-
insert
-
update
-
delete
-
- MongoDB 4.4: Change Streams
-
insert
-
update
-
replace
-
delete
-
- MySQL 8.0: Binary Log
-
insert
-
update
-
delete
-
-
Into the executable directory
cd pg
-
Setup replication Postgres DB inside docker evironment:
make setup
-
Create some tables to listen
-
Start listening:
make dev
-
Into the executable directory
cd mongodb
-
Setup replication MongoDB inside docker evironment:
make setup
-
Start listening:
make dev
-
Create collection and insert, delete or update some documents.