debezium2postgres

command module
v0.0.0-...-7b6d186 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 7 Imported by: 0

README

Build Status Coverage Status Go Report Card

debezium2postgres

Application to apply CDC log from Debezium to the target PostgreSQL.

use

$ ./debezium2postgres --kafka=10.0.0.105:9092 --topic=dbserver1.inventory --loglevel=debug --postgres=postgres://user:pwd@10.0.0.105/inventory

  • kafka - URL to the debezium kafka
  • topic - name of the topic with CDC data or the prefix for such topic names, e.g. dbserver1.inventory will consume all topics from server dbserver1 and database inventory
  • loglevel - output message level, e.g. trace, debug, info, warn, error, panic
  • postgres - PostgreSQL connection URL

⚠ To connect to kafka cluster the advertised.listeners option should be configured properly. See more https://www.confluent.io/blog/kafka-client-cannot-connect-to-broker-on-aws-on-docker-etc/

tutorial

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL