mirror of
https://github.com/jwetzell/showbridge-docs.git
synced 2026-05-14 05:24:21 +00:00
fill in basic details for remaining processors/modules
This commit is contained in:
@@ -4,8 +4,18 @@ sidebar:
|
||||
label: Client
|
||||
order: 1
|
||||
---
|
||||
|
||||
This module connects to a [NATS](https://nats.io/) server and subscribes to a subject.
|
||||
- **type**: `nats.client`
|
||||
- **params**:
|
||||
- **url**
|
||||
- **subject**
|
||||
- **url**: the URL of the NATS server to connect to (e.g. `nats://localhost:4222`)
|
||||
- **subject**: the subject to subscribe to
|
||||
|
||||
### Example
|
||||
Connect to a local NATS server and subscribe to the `events` subject
|
||||
```
|
||||
- id: natsClient
|
||||
type: nats.client
|
||||
params:
|
||||
url: nats://localhost:4222
|
||||
subject: events
|
||||
```
|
||||
Reference in New Issue
Block a user