1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Mentioning response_type in accounts.

Signed-off-by: Matthias Hanel <mh@synadia.com>
This commit is contained in:
Matthias Hanel 2020-04-14 18:29:18 -04:00
parent c9e70e5647
commit b7dc2ea0d6

View File

@ -63,6 +63,7 @@ The export configuration map binds a subject for use as a `service` or `stream`
| `stream` | A subject or subject with wildcards that the account will publish. \(exclusive of `service`\) | | `stream` | A subject or subject with wildcards that the account will publish. \(exclusive of `service`\) |
| `service` | A subject or subject with wildcards that the account will subscribe to. \(exclusive of `stream`\) | | `service` | A subject or subject with wildcards that the account will subscribe to. \(exclusive of `stream`\) |
| `accounts` | A list of account names that can import the stream or service. If not specified, the service or stream is public and any account can import it. | | `accounts` | A list of account names that can import the stream or service. If not specified, the service or stream is public and any account can import it. |
| `response_type` | Indicates if a response to a `service` request consists of a `single` or a `stream` of messages. Possible values are: `single` or `stream`. \(Default value is `singleton`\) |
Here are some example exports: Here are some example exports: