apalis-nats
Background task processing in rust using apalis and nats-jetstream
Features
- Reliable message queue using
nats-jetstreamas the backend. - Multiple Polling strategies: pull and push polling.
- Custom codecs for serializing/deserializing job arguments as bytes.
- Integration with
apalisworkers and middleware. - Observability: Monitor and manage tasks using apalis-board.
Examples
Setting up
The fastest way to get started is by running the Docker image:
Basic Worker Example
use *;
use *;
use ;
use env;
use HashMap;
async
Observability
Track your messages using apalis-board.

Roadmap
- Pull Consumer
- Push Consumer
- Shared Fetcher (Multiple queues on the same Context)
- Sink
- BackendExt
- Worker heartbeats
- Workflow support
- Extensive Docs
License
Licensed under the MIT License.