Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bastelfreak/rabbitmq2postgresql
Ruby foo that consumes rabbitmq messages and writes them into postgresql
https://github.com/bastelfreak/rabbitmq2postgresql
Last synced: 15 days ago
JSON representation
Ruby foo that consumes rabbitmq messages and writes them into postgresql
- Host: GitHub
- URL: https://github.com/bastelfreak/rabbitmq2postgresql
- Owner: bastelfreak
- License: gpl-3.0
- Created: 2017-11-04T18:44:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T20:27:27.000Z (about 7 years ago)
- Last Synced: 2024-10-19T22:12:47.935Z (3 months ago)
- Language: Ruby
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rabbitmq2postgresql
## Description
This is a tiny micoservice. It connects to a rabbitmq exchange via a dedicated
queue. All messages will be serialized into a Payload object (Sequel::Model
instance). Afterwards the objects will be saved, which in turn results in a
database transaction.## Setup
```sh
git clone https://github.com/bastelfreak/rabbitmq2postgresql.git
cd rabbitmq2postgresql
bundle install --path .vendor
cp credentials_example.rb credentials.rb
# update credentials.rb now
bundle exec ruby main.rb
```