#3869 Add support for the MQTT message bus
Closed: Fixed Opened by pingou.

The same way we're supporting the fedmsg and stomp message bus, we should add support for MQTT.

We'll likely want to use python-paho-mqtt. Here is some doc giving us a good starting point: http://www.steves-internet-guide.com/into-mqtt-python-client/


That would be really awesome to have it. Just ensure that you can also specify (through pagure.cfg) some parameters like username/pass, broker url, topic and also TLS options (for mqtt broker only available through TLS, which should be enforced everywhere) :)

Simple example on how the CentOS distro build results are sent to mqtt :

https://github.com/CentOS/reimzul/blob/master/msg_dispatcher.py#L31
https://github.com/CentOS/reimzul/blob/master/msg_dispatcher.py#L101

I'm working on this issue and will send the PR soon.

Metadata Update from @pingou:
- Issue assigned to jingjing

Commit 4eda2c4d fixes this issue

Commit a949ff0a fixes this issue

Metadata
Related Pull Requests