This was a fun project to better understand MQTT techniques. By using an ESP8266 (WeMos dev board), I was able to transmit an RFID UID using the MF-RC522 scanner. I then use Node-RED to orchestrate the workflow.
Complete write-up
http://www.internetoflego.com/rfid-scanner-wemos-rc522-mqtt/