Skip to main content

A storage consumer for the Fedora Message Bus (fedmsg)

Project description

This is datanommer. It 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

Project details


Release history Release notifications

History Node

0.3.0

History Node

0.2.0

This version
History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
datanommer-0.1.8.tar.gz (18.2 kB) Copy SHA256 hash SHA256 Source None Oct 4, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page