openfaas/mqtt-connector

Chart version: 0.3.1
Api version: v1
App version: n/a
Connect OpenFaaS functions to MQTT
application
Chart Type
Active
Status
Unknown
License
180
Downloads
https://openfaas.github.io/faas-netes
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install mqtt-connector center/openfaas/mqtt-connector
Versions (0)

OpenFaaS MQTT Connector chart

Installation

git clone https://github.com/openfaas-incubator/mqtt-connector
cd mqtt-connector/chart

# Template and apply:
helm template -n openfaas --namespace openfaas mqtt-connector/ | kubectl apply -f -

You can watch the Connector logs to see it invoke your functions:

kubectl logs deployment.apps/openfaas-mqtt-connector -n openfaas -f

Configuration

Configure via values.yaml.

Parameter Description Example
topic A single topic for subscription, install broker once for each topic drone-position
broker A TCP address or websocket for the MQTT broker subscription tcp://test.mosquitto.org:1883
clientID An ID to represent this client testgoid
upstream_timeout Maximum timeout for function as (Golang duration) 15s
rebuild_interval Interval between rebuilding map of functions vs. topics (Golang duration) 10s