Demo of using the Mosquitto MQTT broker and a subscriber application to forward messages to IBM Cloudant
To build your own mosquitto MQTT broker container image and deploy it on IBM Code Engine, follow the steps documented in the mosquitto folder of this repo.
Likewise there are instructions to deploy the Python subscriber app on IBM Code Engine in the subscriber folder of this repo.
Finally, there's a sample publisher app, that publishes messages on the mosquitto broker. Use the publisher folder of this repo.