[three]Bean

Now Available - List of fedmsg Topics

Apr 03, 2013 | categories: python, fedmsg, fedora View Comments

fedmsg (the Fedora Infrastructure Message Bus) now has a full list of published message topics with example messages and more.

For instance, one of the topics on which the koji build system emits messages is org.fedoraproject.prod.buildsys.build.state.change. The docs there show:

  • The topic.
  • Some description of the event.
  • An example message in JSON format. This is what you would see if you ran $ fedmsg-tail --really-pretty.
  • Some description of what you would get if you passed the example message into some of the functions in the fedmsg.meta python module. This is the stuff you see in the #fedora-fedmsg irc channel and on the identi.ca bot.

Just in case you didn't know, you can listen to the public fedmsg bus (with no configuration) by running:

$ sudo yum install fedmsg
$ fedmsg-tail --really-pretty

If you want to program something that responds to fedmsg messages, check out the docs on consuming messages from python -- the new list of topics should come in handy.

View Comments
blog comments powered by Disqus