#webassembly #wasm #wasi #wascc #nats

wascc-nats

NATS capability provider for the waSCC host runtime

4 releases (breaking)

0.9.1 Nov 30, 2020
0.8.0 Aug 31, 2020
0.7.0 Jun 4, 2020
0.6.0 Apr 6, 2020

#8 in #wascc

22 downloads per month

Apache-2.0

18KB
379 lines

waSCC Capability Providers

This repository includes the waSCC first party and sample capability providers.

<<<<<<< HEAD

  1. fs
  2. http-client
  3. http-server
  4. logging
  5. nats
  6. redis
  7. redis-streams
  8. redisgraph
  9. s3
  10. telnet ======= The waSCC NATS capability provider exposes publish and subscribe functionality to actors. The following configuration values can be passed to the waSCC 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.

nats/upgrade

Dependencies

~16MB
~378K SLoC