4 releases (breaking)

0.27.0 Apr 21, 2025
0.26.0 Mar 20, 2025
0.25.0 Feb 5, 2025
0.24.0 Jan 23, 2025

#1794 in WebAssembly

Download history 1/week @ 2025-09-12 2/week @ 2025-09-19

845 downloads per month

Apache-2.0

1.5MB
6K SLoC

NATS Capability Provider

This capability provider is an implementation of the wasmcloud:messaging contract. It exposes publish, request, and subscribe functionality to components.

To configure this provider, use the following link settings in link definitions:

Property Description
SUBSCRIPTIONS A comma-separated list of subscription topics. If a subscription is a queue subscription, follow the subscription with "|" and the queue group name. For example, the setting SUBSCRIPTIONS=example.actor,example.task|work_queue subscribes to the topic example.actor and the topic example.task in the queue group work_queue.
CLUSTER_URIS NATS connection uri. If not specified, the default is 0.0.0.0:4222
CLIENT_JWT Optional JWT auth token. For JWT authentication, both CLIENT_JWT and CLIENT_SEED must be provided.
CLIENT_SEED Private seed for JWT authentication.

Dependencies

~43–64MB
~1M SLoC