| Crates.io | wasmcloud-provider-messaging-nats |
| lib.rs | wasmcloud-provider-messaging-nats |
| version | 0.27.0 |
| created_at | 2025-01-23 15:54:37.474639+00 |
| updated_at | 2025-04-21 15:12:55.301751+00 |
| description | A capability provider that satisfies the 'wasmcloud:messaging' contract using NATS as a backend. |
| homepage | |
| repository | https://github.com/wasmCloud/wasmCloud |
| max_upload_size | |
| id | 1527918 |
| size | 118,281 |
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. |