Skip to content

Commit 9747a3d

Browse files
committed
docs(executor/nats): specify better available commands
Signed-off-by: LuBashQ <[email protected]>
1 parent 9475eab commit 9747a3d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

executors/nats/README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
Step to publish and subscribe to NATS subjects.
44

5+
Currently two commands are supported:
6+
7+
- `publish`
8+
- `subscribe`
9+
510
## Input
611

712
### Defaults
@@ -31,9 +36,9 @@ Enable `selfSigned` only if the NATS server uses self-signed certificates. If en
3136

3237
Enable `serverVerify` only if the NATS server verifies the client certificates. If enabled `certificatePath` and `keyPath` are mandatory.
3338

34-
### publish
39+
### publish command
3540

36-
The publish command allows to publish a payload to a specific NATS subject. Optionally it can wait for a reply.
41+
The `publish` command allows to publish a payload to a specific NATS subject. Optionally it can wait for a reply.
3742

3843
Full configuration example:
3944

@@ -80,9 +85,9 @@ It is possible to publish to a Jetstream stream by declaring `jetstream: true` i
8085
- result.error ShouldNotBeEmpty
8186
```
8287

83-
### subscribe
88+
### subscribe command
8489

85-
The subscribe command allows to receive messages from a subject or a stream.
90+
The `subscribe` command allows to receive messages from a subject or a stream.
8691

8792
Full configuration example:
8893

0 commit comments

Comments
 (0)