datanommerA storage consumer for the Fedora Message Bus (fedmsg) | |
Download |
datanommer Ranking & Summary
Advertisement
- License:
- GPL v3
- Price:
- FREE
- Publisher Name:
- Ralph Bean
- Publisher web site:
- http://github.com/ralphbean/
datanommer Tags
datanommer Description
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 outInstall it on your local machine: sudo yum -y install datanommerCreate 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-dbStart 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-loggerUse datanommer's clumsy CLI tools to inspect the DB. Was the message stored? /usr/bin/datanommer-stats /usr/bin/datanommer-dumpProduct's homepage
datanommer Related Software