datanommer 0.1.7

A storage consumer for the Fedora Message Bus (fedmsg)

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
GPL v3 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Ralph Bean
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Database \ Database APIs
datanommer is comprised of only a fedmsg consumer that stuffs every message in a sqlalchemy database.

There are also a handful of CLI tools to dump information from the database.

Try it out

Install it on your local machine:

 sudo yum -y install datanommer

Create the file /etc/fedmsg.d/datanommer.py and add the following content:

config = {
 'datanommer.enabled': True,
 # This is not a safe location for a sqlite db...
 'datanommer.sqlalchemy.url': 'sqlite:////tmp/datanommer.db',
}


Create datanommer's DB:

 /usr/bin/datanommer-create-db

Start fedmsg-relay and datanommer:

 sudo service fedmsg-relay start
 sudo service fedmsg-hub start # this will find datanommer's consumer.


Emit a message, which gets picked up by the relay, rebroadcasted, consumed by datanommer, and stuffed into /tmp/datanommer.db:

 echo "this is a test" | fedmsg-logger

Use datanommer's clumsy CLI tools to inspect the DB. Was the message stored?

 /usr/bin/datanommer-stats
 /usr/bin/datanommer-dump

Last updated on September 20th, 2012

requirements

#Fedora Message Bus #storage consumer #fedmsg #Fedora #storage #consumer

Add your review!

SUBMIT