Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jensneuse/postgreslogicalreplicationexample

Consistent replication from postgres to golang via protocol buffers.
https://github.com/jensneuse/postgreslogicalreplicationexample

debezium debezium-decoderbufs decoderbufs golang logical-replication postgres postgresql

Last synced: 11 days ago
JSON representation

Consistent replication from postgres to golang via protocol buffers.

Awesome Lists containing this project

README

        

# Postgres Logical Replication to Golang to Nats to everywhere..

## Quickstart

``
sh ./nats/run_nats.sh
``

``
sh ./docker/run.sh
``

``
go run ./go_src/consumer/main.go
``

``
go run ./go_src/producer/main.go
``

## Why?

``
Keep applications in sync with a source of truth (postgresql datbase).
``

## How?

``
With the use of postgres logical replication and the debezium decoderbufs plugin we're able to replicate database changes to a golang application via protocol buffers.
``

## Facts

- type safe
- consistent replication
- high performance
- low memory footprint