/mqttfaas

Run functions on MQTT message

Primary LanguageGo

HTTP Invoker

Build Status Go Report Card

Call HTTP API's based on MQTT Messages.

httpinvoker looks for config.yml to figure out which http api to call to make based on mqtt topic

Why

  • Developers dont have to worry about the messaging framework.
  • Developers concentrate on business function
  • Reuse functions

Getting Started

Using openfaas

A sample docker-compose.yml entry is provided.

cd data

docker-compose \
    -f openfaas.yml \
    -f httpinvoker.yml \
    -f databus.yml up

Using fn

A sample docker-compose.yml entry is provided.

cd data

docker-compose \
    -f fn.yml \
    -f httpinvoker.yml \
    -f databus.yml up