Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denosaurs/mess
π A modern, broker-agnostic, distributed message queue for deno
https://github.com/denosaurs/mess
amqp deno distributed javascript message-queue mqtt pubsub rabbitmq redis typescript
Last synced: 24 days ago
JSON representation
π A modern, broker-agnostic, distributed message queue for deno
- Host: GitHub
- URL: https://github.com/denosaurs/mess
- Owner: denosaurs
- License: mit
- Created: 2023-01-04T00:16:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T12:21:33.000Z (about 1 year ago)
- Last Synced: 2024-04-14T02:19:29.439Z (7 months ago)
- Topics: amqp, deno, distributed, javascript, message-queue, mqtt, pubsub, rabbitmq, redis, typescript
- Language: TypeScript
- Homepage: https://deno.land/x/mess
- Size: 18.6 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Mess
[![Tags](https://img.shields.io/github/release/denosaurs/mess)](https://github.com/denosaurs/mess/releases)
[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/mess/mod.ts)
[![checks](https://github.com/denosaurs/mess/actions/workflows/checks.yml/badge.svg)](https://github.com/denosaurs/mess/actions/workflows/checks.yml)
[![License](https://img.shields.io/github/license/denosaurs/mess)](https://github.com/denosaurs/mess/blob/master/LICENSE)Mess is a modern, broker-agnostic message queue for use in a distributed
environment. Currently, AMQP is supported, with plans to add support for other
platforms such as Redis and MQTT in the future.## Example
This example demonstrates how to use the AMQP message queue with the json
serializer and deserializer:```ts
import { AMQPMessageQueue } from "https://deno.land/x/mess/message_queue/implementations/amqp/mod.ts";
import * as json from "https://deno.land/x/mess/serializer_deserializer/json.ts";const queue = new AMQPMessageQueue("test", {
serializerDeserializer: deno,
connection: "amqp://guest:guest@localhost:5672",
});for await (const event of queue) {
console.log(event.data);
await event.deferred.resolve();
}
```## Documentation
Check out the docs
[here](https://doc.deno.land/https://deno.land/x/mess/mod.ts).## Maintainers
- Elias SjΓΆgreen ([@eliassjogreen](https://github.com/eliassjogreen))
## Other
### Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with
`deno fmt` and commit messages are done following Conventional Commits spec.### License
Copyright 2023, the Denosaurs team. All rights reserved. MIT license.