add pubsub.publish docs and cleanout nats/mqtt specific

This commit is contained in:
Joel Wetzell
2026-05-19 22:13:05 -05:00
parent e76a6f1d06
commit d49fa50eb7
4 changed files with 27 additions and 73 deletions
@@ -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"
```