Publish to Pub/Sub
This processor will publish the incoming payload to a module that implements the PubSubModule interface.
This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type.
The payload is unchanged so whatever is received by this payload is output unless any errors are encountered.
- type:
pubsub.publish - params:
- module: ID of the module to publish to
- topic: topic to publish to
Example
Section titled “Example”- type: pubsub.publish params: module: mqtt-out topic: "test"