wasmcloud-nats

Crates.iowasmcloud-nats
lib.rswasmcloud-nats
version0.10.4
sourcesrc
created_at2021-01-13 18:41:34.415147
updated_at2021-05-18 20:42:52.225455
descriptionNATS capability provider for the wasmCloud host runtime
homepagehttps://wasmcloud.dev
repositoryhttps://github.com/wasmcloud/capability-providers
max_upload_size
id341494
size28,964
wasmCloud Automation Bot (wasmcloud-automation)

documentation

https://docs.rs/wasmcloud-nats

README

crates.io Rust license documentation

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 the nats:// 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.
Commit count: 573

cargo fmt