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: 3 months 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-25T12:21:33.000Z (over 1 year ago)
- Last Synced: 2024-10-30T01:22:22.277Z (6 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: 14
- 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
[](https://github.com/denosaurs/mess/releases)
[](https://doc.deno.land/https/deno.land/x/mess/mod.ts)
[](https://github.com/denosaurs/mess/actions/workflows/checks.yml)
[](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.