wascc-nats 0.7.0

NATS capability provider for the waSCC host runtime
Documentation

crates.io  Rust license  documentation

waSCC Messaging Provider (NATS)

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.
  • CLIENT_JWT - If not using anonymous authentication, this is the signed user JWT used for client authentication against the NATS 2.x+ server.
  • CLIENT_SEED - If you have supplied a value for the client JWT, the seed is required for authentication. This should be the nats-style "nkeys" encoded string for the seed and NOT a raw binary value.