--- title: Publish to Pub/Sub sidebar: label: Publish order: 1 --- import SchemaInfo from '../../../../components/SchemaInfo.astro'; 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. ### Example ```yaml - id: publish type: pubsub.publish params: module: mqtt-out topic: "test" ```