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: 8 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-09-02T17:05:35.000Z (2 months ago)
- Last Synced: 2024-10-12T18:55:37.773Z (about 1 month ago)
- Topics: elixir, postgres, postgres-replication
- Language: Elixir
- Homepage:
- Size: 48.8 KB
- Stars: 31
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```