Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/drowzy/postgrex_pgoutput


https://github.com/drowzy/postgrex_pgoutput

elixir postgres postgres-replication

Last synced: 5 days ago
JSON representation

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
```