Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jensneuse/postgreslogicalreplicationexample
- Owner: jensneuse
- Created: 2018-02-13T22:08:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-02-17T13:26:14.000Z (over 6 years ago)
- Last Synced: 2024-10-11T13:12:06.730Z (28 days ago)
- Topics: debezium, debezium-decoderbufs, decoderbufs, golang, logical-replication, postgres, postgresql
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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