6 releases
0.10.4 | May 18, 2021 |
---|---|
0.10.3 | Mar 18, 2021 |
0.10.1 | Feb 11, 2021 |
0.9.2 | Jan 13, 2021 |
#1529 in WebAssembly
14KB
273 lines
wasmCloud NATS Provider
The wasmCloud NATS capability provider exposes publish and subscribe functionality to actors. The following configuration values can be passed to the wasmCloud host runtime for each actor binding:
SUBSCRIPTION
- The subscription string. This can contain wildcards. Use a comma-separated list for multiple subscriptions.QUEUEGROUP_NAME
- If you want all instances of the same actor to share round-robin delivery of messages, then set a unique queue group name for them. This queue group name will apply to all configured subscriptions.URL
- The URL to initially connect with a server. Should use thenats://
scheme prefix.CREDSFILE
- The path to a.creds
file (which can be generated via NATS client(s)) containing the client JWT and the seed used to sign the nonce. If this value is not included in the binding, the provider will use anonymous authentication.CLIENT_JWT
- Supported prior to 0.9, not currently supported.CLIENT_SEED
- Supported prior to 0.9, not currently supported.
Dependencies
~19–30MB
~535K SLoC