File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Step to publish and subscribe to NATS subjects.
4
4
5
+ Currently two commands are supported:
6
+
7
+ - ` publish `
8
+ - ` subscribe `
9
+
5
10
## Input
6
11
7
12
### Defaults
@@ -31,9 +36,9 @@ Enable `selfSigned` only if the NATS server uses self-signed certificates. If en
31
36
32
37
Enable `serverVerify` only if the NATS server verifies the client certificates. If enabled `certificatePath` and `keyPath` are mandatory.
33
38
34
- # ## publish
39
+ # ## publish command
35
40
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.
37
42
38
43
Full configuration example :
39
44
@@ -80,9 +85,9 @@ It is possible to publish to a Jetstream stream by declaring `jetstream: true` i
80
85
- result.error ShouldNotBeEmpty
81
86
` ` `
82
87
83
- # ## subscribe
88
+ # ## subscribe command
84
89
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.
86
91
87
92
Full configuration example :
88
93
You can’t perform that action at this time.
0 commit comments