4 Eylül 2023 Pazartesi

Docker ve PostgreSQL Debezium

Örnek
Şöyle yaparız
docker pull debezium/postgres

docker run \
  -it \
  --rm \
  --name debezium-postgres \
  -p 8080:8080 \
  -e BOOTSTRAP_SERVERS=kafka:9092 \
  -e GROUP_ID=1 \
  -e CONFIG_STORAGE_TOPIC=my-connect-configs \
  -e OFFSET_STORAGE_TOPIC=my-connect-offsets \
  -e STATUS_STORAGE_TOPIC=my-connect-status \
  -e CONFIG_STORAGE_REPLICATION_FACTOR=1 \
  -e OFFSET_STORAGE_REPLICATION_FACTOR=1 \
  -e STATUS_STORAGE_REPLICATION_FACTOR=1 \
  debezium/postgres:latest

Hiç yorum yok:

Yorum Gönder