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

https://github.com/hiqdev/db2amqp

DataBase notifications to AMQP forwarding
https://github.com/hiqdev/db2amqp

hacktoberfest

Last synced: 12 months ago
JSON representation

DataBase notifications to AMQP forwarding

Awesome Lists containing this project

README

          

# DataBase notifications to AMQP forwarding

[![Latest Stable Version](https://poser.pugx.org/hiqdev/db2amqp/v/stable)](https://packagist.org/packages/hiqdev/db2amqp)
[![Total Downloads](https://poser.pugx.org/hiqdev/db2amqp/downloads)](https://packagist.org/packages/hiqdev/db2amqp)
[![Build Status](https://img.shields.io/travis/hiqdev/db2amqp.svg)](https://travis-ci.org/hiqdev/db2amqp)
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/db2amqp.svg)](https://scrutinizer-ci.com/g/hiqdev/db2amqp/)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/db2amqp.svg)](https://scrutinizer-ci.com/g/hiqdev/db2amqp/)

## Usage

Start publisher:

```sh
./vendor/bin/db2amqp db_channel amqp_exchange
```

Send message:

```sql
SELECT pg_notify('db_channel', '{"id": 123, "type": "bot,dns,update"}')
```