Free & open source persistent message queue, generic in nature, but intended for use in background task processing for web applications.
Fastest way to use this software is to run it using docker compose:
services:
litemq:
image: thekashifmalik/litemq:latest
ports:
- 42090:42090
volumes:
- ./.litemq:/app/.litemq
You can also use the docker image directly:
docker run --rm -it -p 42090:42090 -v ./.litemq:/app/.litemq thekashifmalik/litemq:latest
You can pass a custom data directory as the first argument of the litemq
command:
litemq var/litemq
This defaults to .litemq
in the current directory.
You can also set the following environment variables:
PORT
: Change the port the server uses.LOG_LEVEL
: Set to debug
to enable debug logging.I needed a message queue for background task processing. Redis is often used for this purpose, by way of Redis lists, but that project is caught up in licensing issues. ValKey seems like a decent alternative and RabbitMQ is the traditional message broker, but I wanted something lighter and more focused, similar to Memcached, which works great as a cache and not much else.