Topics of interest for each function should be marked using LABEL mqtt_faas_topic
If the mqtt_faas_topic is empty. the function gets all the messages from all topics
Topic messages are available to the functions on stdin
Topic name is available as environment variable FIRED_BY
A Persistant /data directory is available to each function
Development environment
git clone github.com/sks/mqttfaas $GOPATH/src/github.com/sks/mqttfaas
cd $_
# Install Dependency and build binaries
make
# Start the MQTT
docker-compose up -d