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
- Host: GitHub
- URL: https://github.com/hiqdev/db2amqp
- Owner: hiqdev
- Created: 2019-04-26T14:48:30.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-18T08:13:09.000Z (almost 5 years ago)
- Last Synced: 2024-11-11T12:56:23.891Z (over 1 year ago)
- Topics: hacktoberfest
- Language: PHP
- Size: 6.84 KB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DataBase notifications to AMQP forwarding
[](https://packagist.org/packages/hiqdev/db2amqp)
[](https://packagist.org/packages/hiqdev/db2amqp)
[](https://travis-ci.org/hiqdev/db2amqp)
[](https://scrutinizer-ci.com/g/hiqdev/db2amqp/)
[](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"}')
```