![]() | ||||
| Credits: | The XMQ web site is provided by Linotex. | The XMQ and SPTK Windows installers are created with Advanced Installer free Open-Source license. | ||
| There were 0 unique visitors to this page | |
Download the XMQ MQTT serverThe free XMQ MQTT server is distributed as binary packages for Linux (.deb and .rpm), FreeBSD (pkg) and Windows, and as a Docker image. Pick the XMQ version and the operating system; each release also lists the SPTK class library it was built with, in source code and binary packages. Source code: XMQ is developed in the open on GitHub - clone it, read it, or build it yourself; every release is tagged there under its version number. Found a problem? Report it on GitHub. There is no XMQ package for this selection. Run it in DockerThe same release is published as a Docker image, alexeyparshin/xmq. The image installs the .deb from this page rather than building from source, so a container holds exactly the binaries listed above. Tags are the version number and docker run --rm -p 1883:1883 alexeyparshin/xmq The broker takes clients with no credentials out of the box, so nothing has to be configured before the first publish: mosquitto_pub -h localhost -t test/hello -m 'first message' That default suits trying the broker out and nothing else. Add docker exec -it xmq xmq_server --set-password admin docker restart xmq MQTT over TLS is on 8883, with a self-signed certificate the container generates on first start. The configuration, the accounts and the certificate live in docker run -d --name xmq -p 1883:1883 -p 8883:8883 -p 18883:18883 -v xmq-config:/etc/xmq --ulimit nofile=1048576:1048576 alexeyparshin/xmq The descriptor limit belongs there too: Docker gives a container 1024 open files, which caps the broker at about a thousand connections. Sessions, queued messages and retained messages are kept in Redis when |
