sks / mqttfaas

Run functions on MQTT message

Home Page:https://sks.github.io/mqttfaas/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Run functions on MQTT message

https://sks.github.io/mqttfaas/


Languages

Language:Go 80.5%Language:Shell 11.9%Language:Makefile 7.6%