mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-09-01 18:28:59 +00:00
add pubsub.publish docs and cleanout nats/mqtt specific
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
title: Publish to Pub/Sub
|
||||
sidebar:
|
||||
label: Publish
|
||||
order: 1
|
||||
---
|
||||
|
||||
This processor will publish the incoming payload to a Pub/Sub capable module. This processor will return an error if any of the required parameters are missing or if the parameters are of the wrong type.
|
||||
|
||||
- **type**: `pubsub.publish`
|
||||
- **params**:
|
||||
- **module**: the module to publish with.
|
||||
- **topic**: the subject to publish to.
|
||||
|
||||
### Example
|
||||
|
||||
```yaml
|
||||
- type: pubsub.publish
|
||||
params:
|
||||
module: mqtt-out
|
||||
topic: "test"
|
||||
```
|
||||
Reference in New Issue
Block a user