Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drowzy/postgrex_pgoutput
https://github.com/drowzy/postgrex_pgoutput
elixir postgres postgres-replication
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/drowzy/postgrex_pgoutput
- Owner: drowzy
- License: mit
- Created: 2022-10-05T14:27:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-18T15:30:11.000Z (5 days ago)
- Last Synced: 2024-12-18T16:22:07.963Z (5 days ago)
- Topics: elixir, postgres, postgres-replication
- Language: Elixir
- Homepage:
- Size: 56.6 KB
- Stars: 32
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Postgrex.Pgoutput
![CI](https://github.com/drowzy/postgrex_pgoutput/actions/workflows/ci.yml/badge.svg)
[![Hex.pm Version](https://img.shields.io/hexpm/v/postgrex_pgoutput.svg?style=flat-square)](https://hex.pm/packages/postgrex_pgoutput)Encode / decode Postgres replication [messages](https://www.postgresql.org/docs/14/protocol-logicalrep-message-formats.html).
## Usage
See `examples/cdc` for a full example of using `Postgrex.Replication` to implement CDC (Change Data Capture).
## Installation
This package can be installed by adding `postgrex_pgoutput` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:postgrex_pgoutput, "~> 0.1.0"}
]
end
```