Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MQTT OpenFaas Bridge

Run async OpenFaas functions and receive results back via MQTT.

To run a function, publish a message on the topic openfaas/invoke/function-name with a JSON payload.

{
    "input": "input for openfaas function",
    
    // Callback parameters will be passed through to the response
    "callbackParams": {
        "url-encoded": "additional-info"
    }
} 

You can then listen for results on the openfaas/results/function-name topic.

{
    "output": "output from the function",
    "params": {
        "params": "are passed through"
    }
}

You can configure the bridge by setting environmental variables manually or in a .env file. They're currently documented in the .env.example file.

About

Run async OpenFaas functions and receive results back via MQTT

Topics

Resources

License

Releases

No releases published

Packages

No packages published