poying / pg-nsq-bridge

Publish messages from Postgres to NSQ

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pg-nsq-bridge

Publish messages from Postgres to NSQ

Usage

$ pg-nsq-bridge \
    --pgaddr="host=127.0.0.1 user=postgres password=123 sslmode=disable" \
    --nsqaddr="127.0.0.1:4150" \
    --channel="pgtest:nsqtest,pgtest2:nsqtest2"

Install

$ git clone git@github.com:poying/pg-nsq-bridge.git
$ cd pg-nsq-bridge
$ make install

Docker

$ git pull poying/pg-nsq-bridge:0.0.1
$ docker run --rm poying/pg-nsq-bridge:0.0.1 pg-nsq-bridge -h

About

Publish messages from Postgres to NSQ

License:MIT License


Languages

Language:Go 92.0%Language:Makefile 8.0%