Skip to content

Instantly share code, notes, and snippets.

View christineoo-mdsol's full-sized avatar

Christine Oo christineoo-mdsol

View GitHub Profile
@christineoo-mdsol
christineoo-mdsol / docker-compose.yaml
Last active October 29, 2025 02:53
Example docker-compose with postgres-debezium-kafka setup
services:
postgres:
platform: linux/amd64
image: debezium/postgres:17
ports:
- 5432:5432
environment:
- POSTGRES_USER=docker
- POSTGRES_PASSWORD=docker
- POSTGRES_DB=exampledb
@christineoo-mdsol
christineoo-mdsol / debezium-postgres-connector.json
Created October 29, 2025 02:21
Example configuration for debezium postgres connector
{
"name": "postgres-exampledb-connector",
"config": {
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"plugin.name": "pgoutput",
"database.hostname": "postgres",
"database.port": "5432",
"database.user": "docker",
"database.password": "docker",
"database.dbname": "exampledb",